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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/plugin-introspector:meta-rulesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Rules that govern how agents, skills, and workflows should be written.
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 }
npx claudepluginhub hungrytech/hungrytech-claude-skills --plugin plugin-introspectorReviews Claude Code SKILL.md files and agent definitions for frontmatter validity, token budget, description quality, tool scope, and agent contract compliance. Loads on skill or agent files.
Defines universal NL programming conventions for SKILL.md artifacts across tools (Claude Code, Codex CLI, Antigravity). Use when authoring or scoring cross-tool agent skills.
Guides authoring and validating Claude Code skills: metadata optimization, lean workflows, progressive disclosure, references, skillgrade evals.