Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add gjoranv/claude-plan-skills --skill gh-update-plangit clone --depth 1 https://github.com/gjoranv/claude-plan-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gjoranv/claude-plan-skills/gh-update-plan)<a href="https://agentmods.dev/skills/gjoranv/claude-plan-skills/gh-update-plan"><img src="https://agentmods.dev/badge/skills/gjoranv/claude-plan-skills/gh-update-plan/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gjoranv/claude-plan-skills/gh-update-plan"><img src="https://agentmods.dev/badge/skills/gjoranv/claude-plan-skills/gh-update-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.02588 |
| Opus 5.5 | $0.00013 | $0.01035 |
| Sonnet 5.5 | $0.00007 | $0.00518 |
| Haiku 4.5 | $0.00003 | $0.00259 |
Grade A, and why
gh-update-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Exit plan mode before executing this skill. You must actually run gh commands to update the issue; do not just describe what you would do. Use gh to read, edit, and comment on issues. This includes using gh api to update issue bodies and edit or create comments. Do not ask for permission to update comments -- it is expected.
Workflow for editing issue bodies and comments:
- Create a temp directory using a stable name per session and issue:
/tmp/plan-${CLAUDE_CODE_SESSION_ID:-$CODEX_THREAD_ID}-OWNER-REPO-NUMBER. This allows reuse across invocations within the same session without conflicting with other sessions. - Fetch or reuse: If
--localis passed and the temp directory already has files from a previous invocation, skip fetching and reuse the cached files. Otherwise, always fetch fresh content from GitHub usinggh apiand overwrite any existing temp files. In Claude Code, prefer the Write tool. Do not embed fetched content directly in shell arguments. - Modify the temp files with the agent's normal file-edit mechanism. In Claude Code, prefer the Read and Edit tools. Avoid ad hoc
sed/awkrewrites. - Upload using
--inputwithjqto properly JSON-encode the content:
- Edit issue body:
jq -Rs '{body: .}' <tempdir>/body.md | gh api repos/OWNER/REPO/issues/NUMBER -X PATCH --input - - Create comment:
jq -Rs '{body: .}' <tempdir>/comment.md | gh api repos/OWNER/REPO/issues/NUMBER/comments --input - - Edit comment:
jq -Rs '{body: .}' <tempdir>/comment-COMMENTID.md | gh api repos/OWNER/REPO/issues/comments/COMMENT_ID -X PATCH --input -
Never embed content directly in shell arguments or use -f body=@file (it uploads the literal string, not the file contents).
By default, always fetch the latest from GitHub before making changes. Use --local only when you know the issue hasn't been updated by other sessions.
--preview mode: Prepare all changes in temp files but do not upload. After steps 1-12, show the diff between the fetched files and the modified temp files (e.g. diff <fetched> <modified> for each changed file). For new comments, show the full content. Wait for the user to approve before uploading. The user may ask for edits before approving.
--sessions-only: Only run step 11 (Agent sessions table) and update the session comment heading (step 12) if one exists for this session. Skip all other steps. Useful for registering a session without a full plan update.
Never @mention other users in plan issues or comments.
Update the GitHub issue $ARGUMENTS (issue URL or owner/repo#number). If no argument is given, use the issue referenced earlier in this conversation. If no issue can be determined, ask the user. When the issue was not given as an explicit argument, verify it is a real plan issue (has structural comments like Steps or Design) before proceeding. If it does not look like a plan issue, stop and ask the user to confirm.
If a durable-memory CLI is configured, query it here with the task's distinctive terms before updating. See the memory tool's own integration doc for mechanics.
- Verify that it contains the detailed plan for the work in this conversation. If not, ask the user to verify that the correct issue was given.
- Conformance check: Ensure the issue follows the standard plan format. If not, lightly restructure:
- Convert plain step lists to checkboxes (
- [ ]/- [x]) - Add missing section headings (Description, Steps, Links)
- If there is no diagram in either the issue body or comments, and the work would benefit from one, add a diagram in a separate comment (Mermaid, three sentence max caption, no "Caption:" prefix). Pick the right type:
sequenceDiagramfor temporal flow,flowchartwithsubgraph+classDeffor static structure
- Convert plain step lists to checkboxes (
- If the design approach has changed or new key decisions were made, update the Design comment (or the body for old-format issues that have the how in the body). The Design comment is the chosen approach only. Rejected alternatives belong in standalone comments (
## Considered: ...,## Decision: ...). Omit raw exploration; only include conclusions. Two guardrails against bloat:- Don't restate the design doc. If a rule or decision is already written in the canonical design doc, the Design comment should reference it ("per design doc, Format section"), not repeat it. The comment's job is implementation bindings and decisions that go beyond the doc.
- One paragraph per decision, max. State the binding and the key constraint; put worked examples, rationale, and edge cases in the design doc or a standalone finding comment, not inline.
- Keep comments scannable. Avoid walls of text; break content with lists. For work tracked in other issues, use a bulleted
owner/repo#N -- short descriptionlist rather than restating each issue's rationale in prose.
- Check off completed steps (
- [x]) based on the work done in this conversation. Steps may be in a separate Steps comment (new format) or in the issue body (old format). Check both locations and update wherever the steps are found. - If the issue body or comments contain a diagram, check if it is still accurate. If not, update it.
- If steps need rewording or new steps are needed, update them wherever they are (Steps comment or body). Steps with a child issue should use:
- [ ] Child issue: owner/repo#N. The Steps comment is checkboxes only - no prose, no paragraphs, no narrative under sub-steps. Context and rationale belong in the Design comment or the session summary (step 12). If steps are still in the body and there are many updates, consider migrating them to a separate Steps comment. - Update the Links comment with any new references (child issues, documentation, resources). Do not add PRs here (regardless of which repo they target) - all PRs belong in the PRs comment (step 9). Links may be in a separate comment (new format) or in the body (old format). If in the body, consider migrating to a comment.
- If useful commands for testing or verifying the work were discovered during this session, add or update a Useful commands comment (separate from the issue body). If such a comment already exists, edit it rather than creating a new one.
- PRs (do not skip): find or create a PRs comment (separate from the issue body) with a table:
| PR | What | Agent session |. PR column:org/repo#Nas a link. What column: brief description. Agent session column: the name of the session running this gh-update-plan invocation.gh-close-planwill finalize this when the plan is closed. - Review existing comments for outdated or incorrect information. Own comments: rewrite to state the correct information only (no strikethrough or revision notes - plan issues are current state, not history). Others' comments: reply with the correction.
- Agent sessions: Find or create an Agent sessions comment with a table:
| Session | Directory | Model | Last used | ID |. Add a row for this session. Always use backtick code formatting for Directory and ID values. Replace the user's home directory with~in the Directory column. Get the session ID and name as follows:
- Claude Code: session ID from
$CLAUDE_CODE_SESSION_ID. Session name from the system reminder (look for "The user named this session"). - Codex: session ID from
$CODEX_THREAD_ID. Session name from~/.codex/session_index.jsonl:jq -sr --arg id "$CODEX_THREAD_ID" '[.[] | select(.id == $id) | .thread_name] | last // "unnamed"' ~/.codex/session_index.jsonl. - Other agents: use the agent's own session identifier and name if it exposes them; otherwise ask the user.
- Model: never guess. In Claude Code, use the model from the system prompt. In Codex, query
~/.codex/state_5.sqlite:SELECT model FROM threads WHERE id = '$CODEX_THREAD_ID'. Use the model family, version, and variant without extras like context window size (e.g. "Opus 4.8", "Fable 5", "GPT-5.6 Sol"). - Fall back to "unnamed" if no source has a name. Use the full session name in this table; the shortened form (dropping everything before the first
-) is only for the PRs table. Set Last used (YYYY-MM-DD) to the most recent date on which this session did actual work on the plan (code, review, investigation, writing), not the date of this plan update when that is later. A session resumed only to update the plan keeps its earlier date. If this session ID already has a row, update it (the name, date, or other fields may have changed). Do not duplicate rows.
- Important: session comments (
### Session:) are compressed into a single Session Log bygh-close-plan. Do NOT put design decisions, gotchas, or important context into session comments. Those belong in the Design comment (step 3) or as standalone findings (see below).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 18d ago Changed ba6e0998fb58
- 1mo ago Changed · +12 lines 17ef452289f0
- 1mo ago First seen · 56 lines · 33 tokens per session scan A e126c3576918
gh-update-plan is a skill published in the GitHub repository gjoranv/claude-plan-skills (5 stars, last pushed 19d ago), licensed MIT. It adds 33 tokens to every session and 2,588 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
ledger-tasks-yylo
Retrieve any YYLO Ledger Record by ID, discover PDRs and artifacts, and manage tasks and dependencies. Use for unknown record types, universal get/search, task operations, and source-of-truth boundaries.
grill-me
Grill the user about a requirement, decision, or idea before implementation, then produce an actionable planning report without writing code. Use when the user wants to clarify requirements, stress-test an idea, compare approaches, or plan before coding.
triage
Apply a formal state machine to issues — assign category (bug/enhancement/question/spike) and state (needs-triage → needs-info → ready-for-agent → ready-for-human → wontfix). Issues marked ready-for-agent become inputs to supergraph:plan. Use when processing a backlog, reviewing new issues, or preparing work for…
issue-authoring
Draft or refine IDD-ready GitHub issues, roadmap issues, and sub-issues before the normal IDD execution loop begins. Use when a request is too large or ambiguous for one reviewable change, when work needs decomposition or dependency encoding, or when the user asks for issue drafting, roadmap planning, or…
murmur-review-loop
Use when the user says 'send this to my client', 'get feedback on this page', 'send a review link', 'what did the client say', or 'work through the review notes'. Sends a Murmur review link, reads the notes reviewers pin to the page, replies, applies each change on a duplicate, and resolves every note with the…
plan-ledger-tasks-yylo
Create a concise Product Development Requirement and one or more implementation-sized YYLO Ledger tasks when the user explicitly asks to plan or register work.