claude-toolkit-rules

claude-toolkit-rules is a skill for Claude Code from softspark/ai-toolkit. It costs 48 tokens per session (499 once invoked), scanned A, original, Apache-2.0.

A set of working rules for an AI development toolkit, including path safety, alternative options, and critical review of decisions. It also describes commands for planning, debugging, testing, and multi-agent workflows.

In plain words
What is it for?
Use it to guide development workflows, evaluate choices, plan work, and coordinate tasks across multiple agents.
Why use it?
It reduces unsafe assumptions and encourages the agent to consider other approaches before settling on a decision.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Use it to guide development workflows, evaluate choices, plan work, and coordinate tasks across multiple agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/softspark/ai-toolkit/claude-toolkit-rules
Install

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.

Any agent
npx skills add softspark/ai-toolkit --skill claude-toolkit-rules
Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 hooks.

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 claude-toolkit-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/softspark/ai-toolkit/claude-toolkit-rules/github.svg)](https://agentmods.dev/skills/softspark/ai-toolkit/claude-toolkit-rules)
Your own site
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/claude-toolkit-rules"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/claude-toolkit-rules/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 claude-toolkit-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/claude-toolkit-rules"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/claude-toolkit-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00048 $0.00499
Opus 5.5 $0.00019 $0.00200
Sonnet 5.5 $0.00010 $0.00100
Haiku 4.5 $0.00005 $0.00050

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

Security

Grade A, and why

claude-toolkit-rules 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 1mo 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.

app/skills/claude-toolkit-rules/SKILL.md · 38 lines

What it actually says

Claude Toolkit Rules

This rule comes from app/rules/claude-toolkit-rules.md in ai-toolkit. It applies to every task in this workspace, not only when it is loaded.

Claude Toolkit

Shared AI development toolkit — lifecycle hooks, safety constitution, multi-platform support.

Skill Tiers

  • Tier 1 — single-agent: /debug, /review, /refactor, /analyze, /docs, /plan, /explain, /tdd, /triage-issue
  • Tier 1.5 — planning: /write-a-prd → /prd-to-plan → /prd-to-issues; design: /design-an-interface, /architecture-audit, /refactor-plan
  • Tier 2 — multi-agent: /workflow <type> (feature-development, backend-feature, frontend-feature, api-design, database-evolution, test-coverage, security-audit, debugging, incident-response, spike, codebase-onboarding, performance-optimization, infrastructure-change, application-deploy, proactive-troubleshooting)
  • Tier 3 — custom: /orchestrate <desc> (3–6 agents) | /swarm <mode> <desc> (map-reduce | consensus | relay)

Path Safety

  • NEVER guess or hallucinate user home directory paths
  • Use ~ or $HOME instead of a hardcoded /Users or /home prefix followed by a user name. The literal prefix is deliberately not written out here: the plugin export scans shipped files for exactly that pattern, so an example of the mistake would be indistinguishable from the mistake.
  • When an absolute path is needed, run echo $HOME first to get the correct value

User Preferences

  • Style: Direct & efficient. No pleasantries. Measurable results.
  • Methodology: Provide >=3 alternatives. Use Socratic questioning.
  • Review: Apply "Devil's Advocate" critique to decisions.
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. 1mo ago First seen · 38 lines · 48 tokens per session scan A 24c00967d3c8

Subscribe to this mod's changes

claude-toolkit-rules is a skill published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed yesterday), licensed Apache-2.0. It adds 48 tokens to every session and 499 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-09-03.