add-command

add-command is a skill for Claude Code from rajdeepratan/SlashForge. It costs 39 tokens per session (705 once invoked), scanned A, original, MIT.

A recipe for adding a user-facing slash command or an internal workflow skill to the SlashForge kit. A slash command is a named action a user invokes, while a skill is a procedure used during another task.

In plain words
What is it for?
Use it to add new commands such as setup or review workflows, or internal disciplines such as planning, testing, debugging, verification, and parallel work.
Why use it?
It ensures the new template is put in the correct installer list, stays within its size rules, supports different coding hosts where needed, and appears in generated snapshots.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/snapshot-claude-render.js.

Good fit Use it to add new commands such as setup or review workflows, or internal disciplines such as planning, testing, debugging, verification, and parallel work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/rajdeepratan/SlashForge
agentmods
npx agentmods add skills/rajdeepratan/slashforge/add-command

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 add-command

README.md
[![agentmods](https://agentmods.dev/badge/skills/rajdeepratan/slashforge/add-command/github.svg)](https://agentmods.dev/skills/rajdeepratan/slashforge/add-command)
Your own site
<a href="https://agentmods.dev/skills/rajdeepratan/slashforge/add-command"><img src="https://agentmods.dev/badge/skills/rajdeepratan/slashforge/add-command/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 add-command

Your own site · 80×15
<a href="https://agentmods.dev/skills/rajdeepratan/slashforge/add-command"><img src="https://agentmods.dev/badge/skills/rajdeepratan/slashforge/add-command.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 705 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00039 $0.00705
Opus 5.5 $0.00016 $0.00282
Sonnet 5.5 $0.00008 $0.00141
Haiku 4.5 $0.00004 $0.00071

Measured 6d ago against content hash 63f13fb3836d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-command 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 6d 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.

.claude/skills/add-command/SKILL.md · 45 lines

How it starts

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

Add a command or discipline skill

The kit ships two kinds of invocable template, both living in templates/slashforge/<name>.md and both installed as slashforge-<name> on every host:

  • Commands (COMMAND_FILES) — the entry points a user types: setup, code, investigate, fix, resume, review-pr, test, refactor. These drive meta.json's commands list and the status output.
  • Discipline skills (SKILL_FILES) — disciplines the workflow invokes on the user's behalf: brainstorm, plan, debug, tdd, verify, request-review, review-feedback, worktree, parallel. Kept out of COMMAND_FILES on purpose so status reports only what users actually type.

Before starting

Read .claude/rules/templates.md and .claude/rules/cli.md. Decide first: is this a user entry point (command) or an internal discipline (skill)? That decides which array it goes in.

Steps

  1. Create templates/slashforge/<name>.md with frontmatter (name, description) and body ≤ 200 lines (≤ 500 if authored as a skill). Use target blocks for host-specific wording — a command often needs a claude vs agents split for how it dispatches reviewers/PRs.
  2. Register it in bin/install.js: add path.join('slashforge', '<name>.md') to COMMAND_FILES (user command) or SKILL_FILES (discipline). Do not put it in both.
  3. Wire references — if it's a command, reference it from CLAUDE.md's orchestration table and any workflow guide that hands off to it. If it's a discipline, make sure the phase that invokes it names it.
  4. Run tests — npm test (spec-features.test.js asserts that shipped commands install correctly).
  5. Regenerate the snapshot and review:
    node scripts/snapshot-claude-render.js
    git diff test/fixtures/claude-render
    
  6. Update CHANGELOG.md under ## [Unreleased]. If it's a new user command, it will also surface in meta.json's commands — mention it in the docs site.

Verify

Read the full file on GitHub · 45 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. 6d ago Changed 63f13fb3836d
  2. 7d ago First seen · 45 lines · 39 tokens per session scan A fec2d3702570

Subscribe to this mod's changes

add-command is a skill published in the GitHub repository rajdeepratan/SlashForge (5 stars, last pushed 2d ago), licensed MIT. It adds 39 tokens to every session and 705 once invoked, about $0.0002 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-10-09.