test

test is a command for Claude Code from GabsFranke/claude-code-github-agent. It costs 19 tokens per session (369 once invoked), scanned A, original, MIT.

A generic test command that runs a task through test-toolkit to check whether tools and skills are passed from a plugin to its subagents.

In plain words
What is it for?
Use it to test plugin-to-subagent inheritance of tools and skills.
Why use it?
It helps verify that delegated agents receive the tools and skills they are supposed to inherit.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Part of the test-toolkit plugin — 1 command, 1 agent shipped together

Good fit Use it to test plugin-to-subagent inheritance of tools and skills.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gabsfranke/claude-code-github-agent/test
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/GabsFranke/claude-code-github-agent

Made for: Claude Code.

Or install test-toolkit, the plugin that ships this one along with the rest of its 1 command, 1 agent.

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 test

README.md
[![agentmods](https://agentmods.dev/badge/commands/gabsfranke/claude-code-github-agent/test/github.svg)](https://agentmods.dev/commands/gabsfranke/claude-code-github-agent/test)
Your own site
<a href="https://agentmods.dev/commands/gabsfranke/claude-code-github-agent/test"><img src="https://agentmods.dev/badge/commands/gabsfranke/claude-code-github-agent/test/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 test

Your own site · 80×15
<a href="https://agentmods.dev/commands/gabsfranke/claude-code-github-agent/test"><img src="https://agentmods.dev/badge/commands/gabsfranke/claude-code-github-agent/test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 369 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.00019 $0.00369
Opus 5.5 $0.00008 $0.00148
Sonnet 5.5 $0.00004 $0.00074
Haiku 4.5 $0.00002 $0.00037

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

Security

Grade A, and why

test 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.

plugins/test-toolkit/commands/test.md · 48 lines

What it actually says

Run Task

Execute a generic user request. This is a test plugin for verifying that tools and configuration properly flow from the plugin to any subagents it spawns.

Arguments: "$ARGUMENTS"

Instructions

  1. Read the user's request from $ARGUMENTS.
  2. If the request asks to delegate or use a subagent:
    • Use the Agent tool with subagent_type: "test-toolkit:generic-worker" to spawn the generic-worker agent.
    • Pass the full task description as the prompt.
    • Return the agent's result to the user.
  3. Otherwise, execute the task directly using available tools:
    • Read a file → use Read
    • Run a command → use Bash
    • Search code → use Grep or Glob
    • Write/edit files → use Write or Edit
  4. Report results back to the user.

What This Tests

  • Tool availability: all customt tools should be accessible.
  • Agent spawning: the generic-worker agent should be invocable and inherit the same tool set.
  • Skill-to-agent inheritance: when the skill delegates to the agent, the agent should have access to the same tools and context.

Usage Examples

Direct task:

/test read the plugin.json file

Delegate to subagent:

/test delegate: list all Python files in the project

Run a command:

/test run git status
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 · 48 lines · 19 tokens per session scan A ad0c6022a488

Subscribe to this mod's changes

test is a command published in the GitHub repository GabsFranke/claude-code-github-agent (5 stars, last pushed 26d ago), licensed MIT. It adds 19 tokens to every session and 369 once invoked, about $0.0001 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-08-31.