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.
git clone --depth 1 https://github.com/oxygen-fragment/claude-modularWrote 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.
[](https://agentmods.dev/commands/oxygen-fragment/claude-modular/scaffold-component)<a href="https://agentmods.dev/commands/oxygen-fragment/claude-modular/scaffold-component"><img src="https://agentmods.dev/badge/commands/oxygen-fragment/claude-modular/scaffold-component.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00634 |
| Opus 5 | $0.00000 | $0.00317 |
| Sonnet 5 | $0.00000 | $0.00127 |
| Haiku 4.5 | $0.00000 | $0.00063 |
Grade A, and why
scaffold-component 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 7d 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.
What it actually says
Scaffold Component Command
2. **Component Generation**
- Create component file with proper structure
- Generate TypeScript interfaces/PropTypes
- Add default props and proper typing
- Include accessibility attributes
3. **Styling**
- Create corresponding style files
- Add responsive design considerations
- Include theme variables and design tokens
- Follow BEM or project naming conventions
4. **Testing**
- Generate unit tests with common scenarios
- Add accessibility testing
- Create visual regression tests if configured
- Include interaction testing
5. **Documentation**
- Generate Storybook stories
- Add JSDoc or similar documentation
- Create usage examples
- Document props and variants
6. **Integration**
- Update component index files
- Add to component library exports
- Update type definitions
- Add to design system documentation
# Generated files:
# - components/Button/Button.tsx
# - components/Button/Button.styles.ts
# - components/Button/Button.test.tsx
# - components/Button/Button.stories.tsx
# - components/Button/index.ts
```
```bash
# Complex component with variants
/project:scaffold-component Card --variants=default,outlined,elevated
# Generated with:
# - Multiple style variants
# - Comprehensive prop types
# - Stories for each variant
# - Accessibility considerations
```
```bash
# Form component with validation
/project:scaffold-component ContactForm --type=form --validation=yup
# Generated with:
# - Form state management
# - Validation schema
# - Error handling
# - Submission logic
```
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.
- 7d ago First seen · 99 lines · 0 tokens per session scan A 12ba153bd753
scaffold-component is a command published in the GitHub repository oxygen-fragment/claude-modular (283 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 634 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.
Other commands, from other repositories
visual-test
Testing visual de componentes UI y páginas con detección de regresiones visuales. Usa cuando el usuario dice "visual test", "snapshot test", "regression test UI", "visual regression", "UI test", "component test", "screenshot test", "Chromatic", "percy", "regred visual". Detecta cambios visuales en componentes y…
mobile-check
You are invoking the mobile-check skill - comprehensive mobile viewport verification using Playwright MCP.
design-import
Scaffolds React components from a Claude Design handoff bundle and stops at files on disk: no stories, no tests, no pull request. Use when handed a claude.ai/design URL or a local bundle file; when that same scaffold should carry on through test generation, browser verification and an opened PR, run /ork:design-ship…
paul:verify
Guide manual user acceptance testing of recently built features.
kill-mutants
Analyze surviving mutants from a mutation testing run and write targeted unit tests to kill them. Re-runs mutations to confirm kills.
mutate
Run mutation testing to verify test quality. Builds a custom mutation tool or uses an existing framework, runs mutations, and reports the mutation score with surviving mutants.