tool-registration-checklist

tool-registration-checklist is a cursor rule for Cursor from bugbasesecurity/pentest-copilot. It costs 0 tokens per session (374 once invoked), scanned A, original, MIT.

A checklist for registering agent tools across a codebase, including their backend definitions and the screens that display them.

In plain words
What is it for?
Use it when adding or removing a tool to update its handler, registry entry, availability settings, labels, argument previews, and optional code previews.
Why use it?
It prevents a tool from working in one part of the application while missing from the registry, configuration checks, sidebar, or chat transcript.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when adding or removing a tool to update its handler, registry entry, availability settings, labels, argument previews, and optional code previews.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/bugbasesecurity/pentest-copilot/tool-registration-checklist
About the project

Pentest Copilot is an AI-driven penetration-testing agent that connects to a Kali attack box, runs security tools, interprets their output, and chooses subsequent actions. It is intended for ethical hacking engagements, boot-to-root challenges, and capture-the-flag competitions. Catalogue add-ons extend its workflows.

bugbasesecurity/pentest-copilot · 1,576 stars · on GitHub · pentest.bugbase.ai

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.

Clone the repo
git clone --depth 1 https://github.com/bugbasesecurity/pentest-copilot

Made for: Cursor.

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 tool-registration-checklist

README.md
[![agentmods](https://agentmods.dev/badge/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist/github.svg)](https://agentmods.dev/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist)
Your own site
<a href="https://agentmods.dev/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist"><img src="https://agentmods.dev/badge/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist/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 tool-registration-checklist

Your own site · 80×15
<a href="https://agentmods.dev/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist"><img src="https://agentmods.dev/badge/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 374 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.00000 $0.00374
Opus 5.5 $0.00000 $0.00150
Sonnet 5.5 $0.00000 $0.00075
Haiku 4.5 $0.00000 $0.00037

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

Security

Grade A, and why

tool-registration-checklist 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 3mo 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.

.cursor/rules/tool-registration-checklist.mdc · 29 lines

What it actually says

Tool Registration Checklist

When adding or removing an agent tool, update ALL of these locations:

Backend (source of truth)

  1. Handler: backend/src/tools/handlers/<tool-name>.ts — create/delete the ToolDefinition
  2. Registry: backend/src/tools/registry.ts — import + toolRegistry.register()
  3. Availability (if tool requires config): backend/src/utils/toolAvailability.ts — add to unconfigured list when env var is missing

Frontend (must stay in sync with registry)

  1. Sidebar panel: frontend/src/components/session/AgentToolsPanel.jsx
    • TOOL_GROUPS — add the tool name to the appropriate group (or create a new group)
    • TOOL_LABELS — add a human-readable label
  2. Chat transcript: frontend/src/components/pages/session/sessionId/ToolCallBlock.jsx
    • TOOL_LABELS — add the display label
    • formatArgsPreview() — add a one-liner showing the most useful arg
    • getCodePreview() — optionally add syntax-highlighted preview (for script/command tools)

Notes

  • The backend API (GET /agent/session/:id/agent-tools-config) dynamically returns all registered tools from toolRegistry.getAll(), so the backend side is automatic after step 2.
  • The frontend filters tools through TOOL_GROUPS — any tool not listed there won't appear in the sidebar even if the API returns it.
  • If the tool needs consent gating, set requiresConsent: true or implement shouldRequireConsent in the handler.
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. 3mo ago First seen · 29 lines · 0 tokens per session scan A a332249860ba

Subscribe to this mod's changes

tool-registration-checklist is a cursor rule published in the GitHub repository bugbasesecurity/pentest-copilot (1,576 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 374 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.

Related

tool-registration-checklist compared with cursor rules from other repositories

tool-registration-checklist next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tool-registration-checklistbugbasesecurity/pentest-copilotCursor rule1.6k3mo agoMITA0Cursor
no-jumping-aheadBrad-Edwards/aptlCursor rule251mo agoMITA407Cursor
dependenciesraw-labs/mxcpCursor rule685mo agononeA86Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor