opencode-agent-file-generator
Recursively initialize and update AGENTS.md files across the workspace with context-aware skill advertisements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Recursively initialize and update AGENTS.md files across the workspace with context-aware skill advertisements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill guides agents and developers through the Kanban workflow defined in `orgs/riatzukiza/promethean/docs/agile/process.md`.
Protocol to stop apology loops and focus on verified fixes.
Protocol to break out of repetitive, failing edit loops by forcing analysis over action.
Resolves Clojure namespace-path mismatches and classpath errors with definitive path conversion
Auto-fix Clojure delimiters and validate syntax with OpenCode tools.
Protocol to recover from Clojure/Script syntax errors, specifically bracket mismatches and EOF errors.
| name | opencode-agent-file-generator |
| description | Recursively initialize and update AGENTS.md files across the workspace with context-aware skill advertisements. |
| trigger | ["init agents","regenerate agents","update agent files"] |
To automatically distribute relevant skill knowledge to every sub-package in a mono-repository or workspace. This ensures that AI agents operating in specific directories know exactly which tools are available and relevant to that context, without being overwhelmed by the entire workspace's skill catalog.
AGENTS.md.AGENTS.md files are out of sync or contain outdated instructions.The skill relies on two Python scripts in scripts/:
Analyze (scripts/analyze_skills.py):
SKILL.md files in .opencode/skills/.## Suggested Next Skills section to build the dependency graph..opencode/skill_graph.json.Generate (scripts/generate_agents.py):
.opencode/skill_graph.json.AGENTS.md files.To run the full pipeline:
# 1. Analyze and build the graph
python3 .opencode/skills/opencode-agent-file-generator/scripts/analyze_skills.py
# 2. Distribute agent files
python3 .opencode/skills/opencode-agent-file-generator/scripts/generate_agents.py