bkit-rules

bkit-rules is a skill for Claude Code, Codex from ww-w-ai/bkit-claude-code. It costs 73 tokens per session (2,290 once invoked), scanned C, original, Apache-2.0.

A set of automatic working rules for bkit, a development toolkit that organizes work into steps such as planning, design, implementation, checking, and reporting. It also defines project levels and when different helpers should run.

In plain words
What is it for?
Use it to guide new features, bug fixes, refactoring, design documents, quality checks, project-level detection, and sprint work.
Why use it?
It gives development tasks a consistent process and reduces guesswork about which documents, checks, or helpers to use.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the bkit plugin — 44 skills, 2 commands, 36 agents, 21 hooks shipped together

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.

agentmods
npx agentmods add skills/ww-w-ai/bkit-claude-code/bkit-rules
Any agent
npx skills add ww-w-ai/bkit-claude-code --skill bkit-rules
Clone the repo
git clone --depth 1 https://github.com/ww-w-ai/bkit-claude-code

Made for: Claude Code, Codex.

Or install bkit, the plugin that ships this one along with the rest of its 44 skills, 2 commands, 36 agents, 21 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 bkit-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/ww-w-ai/bkit-claude-code/bkit-rules.svg)](https://agentmods.dev/skills/ww-w-ai/bkit-claude-code/bkit-rules)
Your own site
<a href="https://agentmods.dev/skills/ww-w-ai/bkit-claude-code/bkit-rules"><img src="https://agentmods.dev/badge/skills/ww-w-ai/bkit-claude-code/bkit-rules.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,290 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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.00073 $0.02290
Opus 5 $0.00036 $0.01145
Sonnet 5 $0.00015 $0.00458
Haiku 4.5 $0.00007 $0.00229

Measured 5d ago against content hash 0b8dc4635cab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade C, and why

bkit-rules 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 5d 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.

- `Bash(rm -rf*)` - Deny recursive delete (dangerous)
skills/bkit-rules/SKILL.md · 294 lines

How it starts

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

bkit Core Rules

Automatically applied rules that don't require user commands.

1. PDCA Auto-Apply Rules

No Guessing: If unsure, check docs → If not in docs, ask user SoR Priority: Code > CLAUDE.md > docs/ design documents

Request Type Claude Behavior
New feature Check docs/02-design/ → Design first if missing
Bug fix Compare code + design → Fix
Refactoring Current analysis → Plan → Update design → Execute
Implementation complete Suggest Gap analysis

Template References

Document Type Template Path
Plan ${CLAUDE_PLUGIN_ROOT}/templates/plan.template.md
Design ${CLAUDE_PLUGIN_ROOT}/templates/design.template.md
Analysis ${CLAUDE_PLUGIN_ROOT}/templates/analysis.template.md
Report ${CLAUDE_PLUGIN_ROOT}/templates/report.template.md

2. Level Auto-Detection

Detection Order

  1. Check CLAUDE.md for explicit Level declaration
  2. File structure based detection

Enterprise (2+ conditions met)

  • infra/terraform/ folder
  • infra/k8s/ or kubernetes/ folder
  • services/ folder (2+ services)
  • turbo.json or pnpm-workspace.yaml
  • docker-compose.yml
  • .github/workflows/ (CI/CD)

Dynamic (1+ conditions met)

  • bkend settings in .mcp.json
  • lib/bkend/ or src/lib/bkend/
  • supabase/ folder
  • firebase.json

Starter

None of the above conditions met.

Level-specific Behavior

Aspect Starter Dynamic Enterprise
Explanation Friendly, avoid jargon Technical but clear Concise, use terms
Code comments Detailed Core logic only Architecture only
Error handling Step-by-step guide Technical solutions Brief cause + fix
PDCA docs Simple Feature-specific Detailed architecture
Primary Agent starter-guide bkend-expert enterprise-expert
Reference Skill starter dynamic enterprise

Level Upgrade Signals

Read the full file on GitHub · 294 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. 5d ago First seen · 294 lines · 73 tokens per session scan C 0b8dc4635cab

Subscribe to this mod's changes

bkit-rules is a skill published in the GitHub repository ww-w-ai/bkit-claude-code (595 stars, last pushed 19d ago), licensed Apache-2.0. It adds 73 tokens to every session and 2,290 once invoked, about $0.0004 per session on Opus 5. 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

Other skills, from other repositories

ai-native-sdlc

Run the AI-native SDLC loop — Plan, Design, Build, Test, Deploy, Maintain — with versioned artifacts and human approval gates at every handoff. Use when the user states a goal, idea, feature, or change request and expects the agent to scaffold and drive the project through the full lifecycle instead of jumping…

bashebr/ai-native-sdlc · 75 tokens

deep-research

Professional deep research report generation — multi-agent collaboration with parallel chapter writing, automatic latest-data targeting, multilingual output, and built-in quality checks.

hoolulu/deep-research · 32 tokens

code-auditor

Independent pre-merge review of a git diff, PR, or named files. Use when the user asks to review a PR, inspect current git changes, or hunt functional regressions, missed scenarios, wrong assumptions, concurrency bugs, and test gaps as an independent reviewer who does not defend the author's approach /…

bahayonghang/my-ai-cli-toolkit · 176 tokens

三月七 Agent 角色扮演

让AI Agent以《崩坏:星穹铁道》看板娘「三月七」的语气、思维方式和人设完成所有任务—— 回答、思考、编写文档、写代码、分析数据等。三月七自称"本姑娘",称呼对话发起者为"开拓者"。 支持中文、英文、日文、韩文四种语言。 当用户明确要求"用三月七的风格"、"像三月七一样"、"按三月七人设"等指令时触发; 也可由用户通过 /march7 命令手动调用。.

denceee/march-7th-skill · 156 tokens

sast-horusec

Multi-language static application security testing using Horusec with support for 18+ programming languages and 20+ security analysis tools. Performs SAST scans, secret detection in git history, and provides vulnerability findings with severity classification. Use when: (1) Analyzing code for security vulnerabilities…

AgentSecOps/SecOpsAgentKit · 121 tokens

notebooklm-slides

This skill should be used when generating pedagogically-aligned slide decks from educational content using NotebookLM. It addresses the convergence toward generic, text-heavy slides by providing structured prompts that create engaging, proficiency-appropriate presentations aligned with specific educational frameworks.

mjunaidca/robolearn · 54 tokens