chore

chore is a command for Claude Code from jayminwest/kotadb. It costs 0 tokens per session (1,202 once invoked), scanned A, original, MIT.

A command that creates a structured maintenance plan for a software task, such as updating dependencies or project tooling.

In plain words
What is it for?
Use it to plan repository maintenance in an isolated Git worktree, with the plan saved under the project's cache specifications.
Why use it?
It turns upkeep requests into documented, auditable steps and checks that the related GitHub issue is labeled correctly.

Command for Claude Code

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 commands/jayminwest/kotadb/chore
Clone the repo
git clone --depth 1 https://github.com/jayminwest/kotadb

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 chore

README.md
[![agentmods](https://agentmods.dev/badge/commands/jayminwest/kotadb/chore.svg)](https://agentmods.dev/commands/jayminwest/kotadb/chore)
Your own site
<a href="https://agentmods.dev/commands/jayminwest/kotadb/chore"><img src="https://agentmods.dev/badge/commands/jayminwest/kotadb/chore.svg" alt="Measured on agentmods" 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 1,202 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00000 $0.01202
Opus 5 $0.00000 $0.00601
Sonnet 5 $0.00000 $0.00240
Haiku 4.5 $0.00000 $0.00120

Measured 4d ago against content hash c222f2ed5521, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

chore 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 4d 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/commands/issues/chore.md · 111 lines

How it starts

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

/chore

Template Category: Action

Produce a maintenance plan for the chore described in $ARGUMENTS. Focus on lean, auditable steps that unblock the requested upkeep.

CRITICAL - Worktree Path Handling:

  • You are executing in an isolated git worktree directory
  • Your CWD is the worktree root (e.g., /project/trees/chore-123-abc12345)
  • ALL file paths in Write, Edit, Read tools MUST be relative to CWD
  • ✅ Correct: .claude/.cache/specs/chore-123-plan.md
  • ❌ Wrong: /project/trees/chore-123-abc12345/.claude/.cache/specs/chore-123-plan.md
  • Using absolute paths will cause git staging failures and commit errors

Instructions

  • Verify issue labels first: Run gh issue view <issue-number> --json labels to ensure the issue has labels from all four categories (component, priority, effort, status). If labels are missing, apply them before proceeding.
  • Create a markdown plan under .claude/.cache/specs/ named chore-<issue-number>-<slug>.md (e.g., .claude/.cache/specs/chore-1450-refresh-deps.md).
  • Build <slug> from the issue title using 3–6 lowercase, hyphenated words (alphanumeric only).
  • Use the template exactly as written.
  • Use KotaDB MCP tools for discovery: Use mcp__kotadb-staging__search_code to find config files, test infrastructure, CI workflows (see .claude/commands/docs/kotadb-agent-usage.md for patterns)
  • Identify impacts across tooling, CI, documentation, and runtime configuration.
  • Keep scope tight; defer unrelated improvements.
  • Call out all affected files (and any new artefacts) in the plan to avoid churn during implementation.
  • Reference the git flow: branch from develop using chore/<issue-number>-<slug>, merging back into develop before promotion to main.
  • Ensure the plan's final tasks rerun validation and push the branch so reviewers can create a PR (PR titles must end with the issue number, e.g. chore: refresh deps (#210)).
  • Consult .claude/commands/docs/conditional_docs/app.md or .claude/commands/docs/conditional_docs/automation.md and pull in only the docs relevant to this maintenance scope.
  • If the chore introduces new documentation artefacts, extend .claude/commands/docs/conditional_docs/app.md or .claude/commands/docs/conditional_docs/automation.md with conditions that describe when to read them.

Read the full file on GitHub · 111 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. 4d ago First seen · 111 lines · 0 tokens per session scan A c222f2ed5521

Subscribe to this mod's changes

chore is a command published in the GitHub repository jayminwest/kotadb (102 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,202 tokens. 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-30.