No slash command · from plugin-introspector
Agent and skill writing rules for Claude Code plugins. Enforces anti-bloat constraints, token limits, and quality standards for all auto-generated improvements.
Ships in plugin-introspector. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Rules that govern how agents, skills, and workflows should be written. All auto-generated improvements MUST pass these rules before application.
These limits apply to auto-generated improvements (output of improvement-generator and auto-optimizer). They constrain individual components, not the main orchestrating SKILL.md which serves as a command router.
| Component | Max Tokens | Measurement | Scope |
|---|---|---|---|
| Agent description (.md) | 1000 | chars/4 | Per agent file |
| Knowledge skill (SKILL.md) | 500 | chars/4 | Per knowledge skill (meta-rules, analysis-patterns, cost-tracking) |
| Main skill (SKILL.md) | No hard limit | — | Orchestrating skill — uses lazy-load via resources/ |
| Single example | 200 | chars/4 | Per example block |
| Hook script | 100 lines | line count | Per standalone script |
|| true fallback — hook failures must not break workflowset -euo pipefail in scriptsPrevent infinite growth of auto-generated content:
When checking a component against meta-rules:
1. Measure token count (chars / 4)
2. Check against component-type limit
3. Verify required sections exist (input, output, model assignment for agents)
4. Check for prohibited patterns (vague instructions, missing exit conditions)
5. Return: { passed: bool, violations: string[], token_count: number }
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hungrytech/hungrytech-claude-skills --plugin plugin-introspector4 skills in this plugin
/analysis-patternsReusable analysis patterns and heuristics for plugin execution data. Provides standardized methods for pattern detection, anomaly scoring, and improvement signal extraction./cost-trackingModel-specific pricing tables and cost calculation utilities for Claude API usage tracking and budget management./plugin-introspectorWhite-box monitoring and self-improvement meta-plugin for Claude Code workflow plugins. Monitors tool usage, token consumption, API calls, and execution patterns. Analyzes collected data to generate data-driven improvement proposals. Activated by keywords: "introspector", "monitor", "analyze plugin", "token usage", "dashboard", "evaluate", "optimize", "improve plugin", "security", "compliance".Other plugins' skills for the same job