Stats
Actions
Tags
Help us improve
Share bugs, ideas, or general feedback.
From team-knowledge
Runs bash scripts on session start and stop to initialize and teardown Claude Code workspace state. Executes shell commands at lifecycle boundaries.
2 events · 2 hooks
npx claudepluginhub chainupcloud/team-knowledge-plugin --plugin team-knowledgeWhere this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
.*echo '💡 提示:如果本次任务有可沉淀的经验,运行 /archive 触发知识提取'REPO="${TEAM_KNOWLEDGE_REPO:-$HOME/.team-knowledge}"; if [ -d "$REPO" ]; then cd "$REPO" && git pull --quiet origin main 2>/dev/null && echo '📚 团队知识库已同步至最新版本' || echo '⚠️ 知识库同步失败(可能离线)'; else echo "⚠️ 知识库目录不存在: $REPO(设置 TEAM_KNOWLEDGE_REPO 或 clone 到 ~/.team-knowledge)"; fiShare bugs, ideas, or general feedback.