CodeGraphMCPServer: Command for Claude Code

.claude/commands/sdd-change-archive.md

sdd-change-archive is a command for Claude Code from nahisaho/CodeGraphMCPServer. It costs 0 tokens per session (3,495 once invoked), scanned C, original, MIT.

A command for archiving a completed software change proposal and its implementation. It checks that the work, tests, deployment, feature flags, and monitoring are complete before cleanup.

In plain words
What is it for?
Verifying a change is ready, recording final results, updating documentation, and archiving the proposal and implementation.
Why use it?
It prevents unfinished changes from being archived and keeps completed project records and temporary resources organized.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is nahisaho/CodeGraphMCPServer's own configuration. It tells Claude Code how to work on CodeGraphMCPServer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CodeGraphMCPServer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nahisaho/CodeGraphMCPServer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nahisaho/CodeGraphMCPServer/main/.claude/commands/sdd-change-archive.md
Clone the repo
git clone --depth 1 https://github.com/nahisaho/CodeGraphMCPServer

Made for: Claude Code.

Wrote 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.

agentmods badge for sdd-change-archive

README.md
[![agentmods](https://agentmods.dev/badge/commands/nahisaho/codegraphmcpserver/sdd-change-archive/github.svg)](https://agentmods.dev/commands/nahisaho/codegraphmcpserver/sdd-change-archive)
Your own site
<a href="https://agentmods.dev/commands/nahisaho/codegraphmcpserver/sdd-change-archive"><img src="https://agentmods.dev/badge/commands/nahisaho/codegraphmcpserver/sdd-change-archive/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.

agentmods 80×15 button for sdd-change-archive

Your own site · 80×15
<a href="https://agentmods.dev/commands/nahisaho/codegraphmcpserver/sdd-change-archive"><img src="https://agentmods.dev/badge/commands/nahisaho/codegraphmcpserver/sdd-change-archive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,495 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.03495
Opus 5.5 $0.00000 $0.01398
Sonnet 5.5 $0.00000 $0.00699
Haiku 4.5 $0.00000 $0.00349

Measured 2mo ago against content hash d68789c9b51d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

sdd-change-archive scanned grade C with 1 finding 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 2mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf lib/{{deprecated-feature}}/
.claude/commands/sdd-change-archive.md · 686 lines

How it starts

The opening of the file, as written. The whole thing — 686 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SDD Change Archive Command

Archive a completed change proposal.


Instructions for GitHub Copilot

You are executing the #sdd-change-archive [change-name] command to archive a completed change.

Command Format

#sdd-change-archive add-2fa
#sdd-change-archive migrate-to-graphql
#sdd-change-archive refactor-auth-service

Your Task

Archive the change proposal and implementation, update documentation, and clean up temporary resources.


Process

1. Verify Change Completion

Read Implementation Report:

# Check implementation report exists
storage/changes/{{change-name}}-implementation.md

Verify Status:

  • Implementation report exists
  • All requirements implemented
  • Tests passing
  • Feature deployed to production
  • Feature flag enabled (or deprecated feature removed)
  • Monitoring shows stable metrics

If Not Complete:

⚠️ **Change not ready for archival**

Status Check:

- [ ] Implementation complete
- [ ] Tests passing
- [ ] Deployed to production
- [ ] Feature flag enabled/removed
- [ ] Stable for 2+ weeks

Please complete all steps before archiving.

2. Collect Final Metrics

Gather Success Metrics:

## Final Metrics: {{CHANGE_NAME}}

### Deployment

- **Deployed**: {{DATE}}
- **Rollout Complete**: {{DATE}}
- **Stable Period**: {{DAYS}} days

### Performance

- **P95 Latency**: {{VALUE}}ms (target: <200ms) ✅
- **Error Rate**: {{VALUE}}% (target: <0.1%) ✅
- **Throughput**: {{VALUE}} req/s ✅

### Adoption

- **User Adoption**: {{PERCENTAGE}}%
- **Feature Usage**: {{COUNT}} uses/day
- **Customer Feedback**: NPS {{SCORE}}

### Quality

- **Bugs Found**: {{COUNT}}
  - P0: 0
  - P1: {{COUNT}}
  - P2: {{COUNT}}
- **Incidents**: {{COUNT}}
- **Rollbacks**: {{COUNT}}

### Cost

- **Development Time**: {{HOURS}} hours
- **Infrastructure Cost**: ${{AMOUNT}}/month
- **ROI**: {{PERCENTAGE}}% (projected)

3. Update Change Status

Update Change Proposal:

<!-- storage/changes/{{change-name}}-proposal.md -->

## Metadata

- **Change ID**: CHG-{{NUMBER}}
- **Status**: ~~Proposed~~ → ~~Approved~~ → ~~Implemented~~ → **Archived**
- **Created**: {{DATE}}
- **Approved**: {{DATE}}
- **Implemented**: {{DATE}}
- **Archived**: {{DATE}}

Read the full file on GitHub · 686 lines

Changes

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.

  1. 2mo ago First seen · 686 lines · 0 tokens per session scan C d68789c9b51d

Subscribe to this mod's changes

sdd-change-archive is a command published in the GitHub repository nahisaho/CodeGraphMCPServer (14 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,495 tokens. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

sdd-change-archive compared with commands from other repositories

sdd-change-archive next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sdd-change-archivenahisaho/CodeGraphMCPServerCommand1411mo agoMITC0Claude Code
landgmickel/flow-nextCommand717yesterdayMITA13Claude Code
qualityDesko77/claude-code-skills-1cCommand902d agoMITA18Claude Code
release-notesOpenHands/extensionsCommand176yesterdayMITA44Claude Code
release-managerruvnet/agentic-flowCommand838yesterdaynoneA0Claude Code
create-prdsswift/ionCommand52d agoMITA28Claude Code
rally-merge-prddgonzal3/rallyCommand63d agoMITA0Claude Code