用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/catlog22/maestro-flow --skill maestro-guard命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording. Full LLM capability, scoped to mechanically clear tasks.
Create or sync session worktree for parallel dev
Maestro Flow 命令帮助系统。搜索命令、浏览技能、工作流推荐、新手引导。Triggers on "maestro-help", "帮助", "命令", "怎么用", "skill", "workflow", "maestro 怎么用".
正在显示 SKILL.md
| name | maestro-guard |
| disable-model-invocation | true |
| description | Manage editing boundary restrictions |
| argument-hint | on|off|status|allow|deny|remove|clear [path] |
| allowed-tools | ["Bash","Glob","Read","Write","request_user_input"] |
| session-mode | none |
| version | 0.5.83 |
Config location: .workflow/config.json → guard section
{
"guard": {
"enabled": false,
"mode": "allow",
"paths": []
}
}
Enforcement: The workflow-guard hook (PreToolUse on Write/Edit) reads this config
and blocks operations targeting files outside boundaries. Requires hooks level >= full.
Output boundary: ALL file writes MUST target .workflow/config.json (guard section) only. NEVER modify hook files, .claude/settings.json, or source code.
GATE 1: Parse → Config Read
status.GATE 2: Config Read → Execute
.workflow/config.json read successfully or initialized with empty guard section.GATE 3: Execute → Confirm
Step 1: Parse subcommand
Extract from $ARGUMENTS:
on / off / status / allow <path> / deny <path>statusStep 2: Read config
Read .workflow/config.json. If file missing, initialize with empty guard section.
Step 3: Execute subcommand
status:
.claude/settings.json for hook presence)maestro hooks level full to activate."on:
guard.enabled = trueguard.paths is empty, set default: ["src/", "tests/", ".workflow/"]off:
guard.enabled = falseallow <path>:
guard.mode is deny, request_user_input: "Switching from deny to allow mode will clear existing paths ({N} paths). Continue?" — abort if user declines. Clear guard.paths (mode switch invalidates previous path list).guard.mode = "allow"guard.paths (deduplicate)guard.enabled = true if not alreadydeny <path>:
guard.mode is allow, request_user_input: "Switching from allow to deny mode will clear existing paths ({N} paths). Continue?" — abort if user declines. Clear guard.paths (mode switch invalidates previous path list).guard.mode = "deny"guard.paths (deduplicate)guard.enabled = true if not already (symmetric with allow: adding a deny path auto-enables the guard)remove <path>:
guard.paths (if present)clear:
guard.paths = []Step 4: Confirm
Display updated guard configuration.
<error_codes>
.workflow/config.json not found and cannot be created (not a maestro project)<success_criteria>