.claude/skills/agency-issue/SKILL.md
File, view, comment on, and close issues against the-agency framework on GitHub. Two-way channel with persisted local audit trail in `usr/{principal}/reports/`.
npx skillsauth add the-agency-ai/the-agency agency-issueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user (or you) hits friction with the-agency framework — a bug, missing feature, doc gap, ergonomic problem — and wants to file it in the GitHub issue tracker.
Unlike /feedback (which is fire-and-forget to Anthropic for Claude Code itself), /agency-issue is a two-way channel against the-agency's own GitHub repo. You can file, view current state, add comments, and close issues — all from within an agency session.
Every filed issue writes a markdown report to usr/{principal}/reports/ with frontmatter capturing the GitHub issue number, target repo, date, and a response log slot.
./claude/tools/agency-issue file \
--type bug \
--title "Concise one-line title" \
--body-file /path/to/issue-body.md
Or with inline body:
./claude/tools/agency-issue file \
--type friction \
--title "Hookify rule X blocks legitimate workflow Y" \
--body "When I do X, hookify rule Y triggers and blocks me. The rule is correct in spirit but the heuristic is too broad..."
Required flags:
--type — one of: bug, feature, friction, question, docs--title — single-line issue title--body OR --body-file — issue body (use - for stdin with --body-file)No labels in v1. The type goes into the issue body header, not a GitHub label. Triage happens by reading.
./claude/tools/agency-issue list
./claude/tools/agency-issue list --state closed --limit 50
./claude/tools/agency-issue list --state all
./claude/tools/agency-issue view 47
Shows the issue body, metadata, and all comments.
./claude/tools/agency-issue comment 47 --body "Reproduced in another repo too. Adding context: ..."
./claude/tools/agency-issue comment 47 --body-file my-comment.md
./claude/tools/agency-issue close 47
./claude/tools/agency-issue close 47 --comment "Fixed in #52, shipped in Day 33 R2."
For consistency, follow the same structure as /feedback (per claude/REFERENCE-FEEDBACK-FORMAT.md):
For internal cross-references, append a "Related" section at the bottom with paths to seeds, dispatches, transcripts, etc.
Delegated to GitHub via gh. Anyone with gh auth can file. Comment and close are gated by GitHub's own write-access checks — gh will refuse if the user lacks permission.
Target repo lives in claude/config/agency.yaml:
issues:
provider: github
github:
target_repo: "the-agency-ai/the-agency"
v1 supports a single provider (github) and single target repo. v2+ will follow the SPEC-PROVIDER pattern for pluggable backends (gitlab, linear, jira) and multi-target support.
Every filed issue writes a report file to usr/{principal}/reports/:
report-agency-issue-{slug}-{YYYYMMDD}.md
The frontmatter captures:
---
report_type: agency-issue
issue_type: bug
filing_agent: the-agency/jordan/captain
filed_by: jordan
date_filed: 2026-04-08
target_repo: the-agency-ai/the-agency
github_issue: https://github.com/the-agency-ai/the-agency/issues/47
github_issue_number: 47
status: open
---
The usr/{principal}/reports/REPORTS-INDEX.md file is updated with a row pointing at the new report. Same pattern as Claude Code feedback reports — the reports directory is the principal's external-filing record.
gh auth loginUse agency-issue when:
Use /feedback instead when:
Use a flag (flag <message>) instead when:
Use a dispatch instead when:
business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment