From 3534b9388969e6ab7a3add1ef2e26bfac6bbbbbd Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 17:59:36 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 11 ++++++++++ README.md | 3 +++ hooks/hooks.json | 14 ++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 hooks/hooks.json create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..79ea2ea --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "concise-prompt", + "description": "Makes Claude responses concise by default. Use !verbose or !v to disable for specific prompts.", + "version": "1.0.0", + "author": { + "name": "Lukas" + }, + "hooks": [ + "./hooks/hooks.json" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..41b26af --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# concise-prompt + +Makes Claude responses concise by default. Use !verbose or !v to disable for specific prompts. diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..5e2e4e3 --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,14 @@ +{ + "hooks": { + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/prompt-concise.sh" + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..48c37e8 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:balabis/plugins:concise-prompt-plugin", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "80730c796713404fceff84656b18745b55f24faf", + "treeHash": "eb256e182f12df062fef5f28e660cf19f73dd4ff02e55e45441ca98f99567b76", + "generatedAt": "2025-11-28T10:14:06.508991Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "concise-prompt", + "description": "Makes Claude responses concise by default. Use !verbose or !v to disable for specific prompts.", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "6ca8d3f5c378a48196fc88b84dadc6f37f524771dd66c87f9d6ee5079459f43a" + }, + { + "path": "hooks/hooks.json", + "sha256": "dcb9400a5c1baae972bf8184590aa60acdf0ca2324019f91d1344bc07695b0a1" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "668575adf0cf0b84d05af7d5875670413d76227b6fbc12b584570b4a613f5dcb" + } + ], + "dirSha256": "eb256e182f12df062fef5f28e660cf19f73dd4ff02e55e45441ca98f99567b76" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file