一键导入
list-branches
Use when user wants to inventory autonomy branches with custom sorting, grouping, or filtering
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when user wants to inventory autonomy branches with custom sorting, grouping, or filtering
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when working in a project that has a `.agents/` directory or when the user asks about Conway Architecture, the conway-architecture plugin, domain agents, owned_paths enforcement, or how to coordinate a persistent subagent team that shadows the application's architecture
Use when reading or writing OST (Outcome / Strategy / Tactic) graph data in the `agents` TypeDB database - covers the falsifiability rubric, the three-layer discipline, ID conventions, lifecycle transitions, and the structured Task fields that replace generic descriptions
Use when interacting with a TypeDB 3.x database via the typedb MCP tools (typedb-query, typedb-database_schema, etc.) - covers schema-first workflow, transaction types, TypeQL 3.x syntax (which differs materially from 2.x), and the most common failure modes
Use when analyzing another branch's iteration journals to extract findings, decisions, and insights from divergent work
Use when user wants detailed status report for single autonomy branch including iteration timeline and metrics progression
Use when saving current iteration progress mid-conversation, before context compaction, or at interim pause points
| name | list-branches |
| description | Use when user wants to inventory autonomy branches with custom sorting, grouping, or filtering |
| user-invocable | true |
Display inventory of all autonomy branches with user-specified sorting, grouping, and information display using computational analysis.
Core principle: Use branch-analyzer agent with Python scripts for precise analysis. Never "eyeball it".
Use this skill when:
/list-branches commandDO NOT use for:
| Step | Action | Tool |
|---|---|---|
| 1. Parse query | Extract sorting/grouping/filter requirements | Manual |
| 2. Dispatch agent | Send query to branch-analyzer | Task |
| 3. Format results | Present markdown table to user | Direct output |
Extract requirements from user's query (if provided):
Default (no query):
Parse user query for:
Example queries:
"sort by most recent, show only active"
→ Sort: recency, Filter: status=active, Show: default fields
"group by status, show metrics"
→ Group: status, Sort: recency within groups, Show: + metrics
"show branches updated in last 30 days"
→ Filter: date > (today - 30 days), Sort: recency, Show: default
Dispatch the branch-analyzer agent with detailed instructions:
Task tool with subagent_type: "autonomy:branch-analyzer"
Model: haiku
Prompt: "List all autonomy branches and analyze their status.
User query: [user's query or 'default: sort by most recent']
Requirements:
- Find all branches matching 'autonomy/*'
- For each branch, find most recent journal commit (starts with 'journal: ')
- Parse commit message for: status, metrics, blockers, next steps
- [Apply sorting: {criterion}]
- [Apply grouping: {field}]
- [Apply filtering: {criteria}]
- Generate Python script to process data
- Output markdown table with columns: [requested fields]
Use computational methods (Python scripts), do not eyeball the analysis."
Agent will:
git branch -a | grep 'autonomy/' to list all autonomy branchesDisplay agent's output to user.
Example output format:
# Autonomy Branches
Showing 3 branches (sorted by most recent update)
| Branch | Latest Iteration | Last Updated | Status | Metrics | Next |
|--------|------------------|--------------|--------|---------|------|
| experiment-a | 0028 | 2026-01-02 | blocked | MRR: $62k (+12%) | Resolve Stripe API integration |
| experiment-b | 0015 | 2025-12-28 | active | Build: 3.2min (-40%) | Implement checkout flow |
| initial-strategy | 0042 | 2025-12-15 | concluded | Churn: 8% (from 13%) | Goal achieved |
If no autonomy branches found:
No autonomy branches found.
To create your first autonomy branch:
1. Run `/create-goal` to set up an open-ended goal
2. Run `/fork-iteration <strategy-name>` to create autonomy branch
3. Run `/start-iteration` to begin work
This skill ONLY operates on autonomy/* branches:
autonomy/ prefixmain, develop)/review-progressDO NOT:
DO:
User queries are free-text and flexible:
All analysis happens via git commands:
git log <branch>| Mistake | Reality |
|---|---|
| "I'll manually list branches from git branch output" | NO. Dispatch branch-analyzer agent for computational analysis. |
| "Only 3 branches, I can eyeball the sorting" | NO. Always use Python scripts for precision. |
| "User query is unclear, I'll guess" | NO. Use AskUserQuestion to clarify if ambiguous. |
| "I'll check out each branch to read journals" | NO. Use git log to read commit messages without checkout. |
| "Non-autonomy branch appeared, I'll include it" | NO. Only autonomy/* branches. Strict filtering. |
Once branches are listed:
/branch-status <branch-name>/fork-iteration <iteration> <strategy-name>