Agent Skills
› AjayIrkal23/agentic-mercy-10x
› invoke-docs
invoke-docs
GitHub执行文档同步任务,调度docs-sync-agent并生成DOCS-SYNC-REPORT.md报告。管理运行文件夹、配置预期产物,处理失败重试,最终更新状态并输出结果摘要。
Trigger Scenarios
需要生成或同步项目文档时
调用/docsact相关功能
Install
npx skills add AjayIrkal23/agentic-mercy-10x --skill invoke-docs -g -y
SKILL.md
Frontmatter
{
"name": "invoke-docs",
"description": "Run the DOCS act — dispatches docs-sync-agent (default sonnet; opus-guard routes) and writes `DOCS-SYNC-REPORT.md` into a run folder. Single-act form of `\/invoke docs -- <task>`.",
"argument-hint": "[--run <dir>] [task]"
}
Run the docs act for: $ARGUMENTS
This is /invoke docs without the closers; ~/.claude/skills/invoke/SKILL.md governs anything not said here.
- Run folder:
--run <dir>in the arguments → reuse that folder (absolute path) and update itsrun.jsonwith Edit; otherwise create a new one exactly as/invoke§2 (RUN="$(git rev-parse --show-toplevel)/.claude/runs/$(date -u +%Y%m%dT%H%M)-$SLUG",BRIEF.md,run.jsonwith"acts": ["docs"]). Never write into any other existing run folder. - Set
run.json.expected_artifacts["docs-sync-agent"] = "DOCS-SYNC-REPORT.md". Agent(subagent_type="docs-sync-agent", description="docs: <task>", prompt=...). The prompt names$RUN/BRIEF.md, every artifact already in$RUN/, and the exact output path$RUN/DOCS-SYNC-REPORT.md. Nomodel=: opus-guard routes it (pins, escalation, per-project mode). Artifact missing or the act failed → re-dispatch once with the prompt prefixedPrevious attempt failed: <one-line reason>.- Append
docstorun.json.done, then report the artifact path and a one-paragraph verdict.
Version History
- 2315578 Current 2026-10-18 19:21


