Borrowing it
Nothing to install: this file belongs to xiaolai/claudepot-app. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/xiaolai/claudepot-app/main/.claude/commands/component.mdgit clone --depth 1 https://github.com/xiaolai/claudepot-appWrote 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/xiaolai/claudepot-app/component)<a href="https://agentmods.dev/commands/xiaolai/claudepot-app/component"><img src="https://agentmods.dev/badge/commands/xiaolai/claudepot-app/component/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.
<a href="https://agentmods.dev/commands/xiaolai/claudepot-app/component"><img src="https://agentmods.dev/badge/commands/xiaolai/claudepot-app/component.svg" alt="Reviewed on agentmods" width="80" 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.00034 | $0.02385 |
| Opus 5.5 | $0.00014 | $0.00954 |
| Sonnet 5.5 | $0.00007 | $0.00477 |
| Haiku 4.5 | $0.00003 | $0.00238 |
Grade A, and why
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scaffold Component
Create a new React component grounded in one of the kinds below. The scaffold emits only what the kind requires — no TODO placeholders, no speculative props, no "fill it in later" CSS. Subtraction from a full recipe produces vestigial code; we avoid that entirely.
Inputs
$ARGUMENTS must contain:
- Component name — PascalCase (
ProjectDriftBanner,AccountRow,KeychainStatusBadge). - Kind — one of the kinds in the table below, OR
- Nearest existing component — if no kind fits, name an existing
component in
src/components/,src/sections/, orsrc/shell/that is the closest structural match.
If neither a kind nor a nearest-component is given, stop and ask. Do not pick a default — there is no default. An unspecified scaffold is the exact failure mode we're replacing.
Kinds
Every kind below points to a live paper-mono component in src/
that the scaffold must mirror.
| Kind | Live reference |
|---|---|
list-row-selectable |
src/sections/projects/ProjectsTable.tsx |
sidebar-item |
src/components/primitives/SidebarItem.tsx, src/shell/AppSidebar.tsx |
card |
src/sections/accounts/AccountCard.tsx |
detail-grid |
src/sections/SettingsSection.tsx (Kv rows) |
banner |
src/components/PendingJournalsBanner.tsx, src/sections/accounts/AnomalyBanner.tsx |
toolbar |
src/shell/ScreenHeader.tsx (actions slot) |
filter-bar |
src/sections/AccountsSection.tsx, src/sections/ProjectsSection.tsx |
segmented-control |
src/sections/SettingsSection.tsx (Appearance theme picker) |
modal |
src/components/primitives/Modal.tsx, src/sections/accounts/AddAccountModal.tsx |
confirm-destructive |
src/components/ConfirmDangerousAction.tsx |
empty-state |
src/sections/SessionsSection.tsx |
status-tag |
src/components/primitives/Tag.tsx |
search-field |
src/sections/AccountsSection.tsx filter input |
context-menu |
src/components/ContextMenu.tsx |
collapsible-section |
src/components/CollapsibleSection.tsx |
running-op-entry |
src/components/RunningOpStrip.tsx |
usage-row |
src/sections/accounts/UsageBlock.tsx |
action-card |
src/sections/accounts/ActionCard.tsx |
screen-header |
src/shell/ScreenHeader.tsx |
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.
- 2mo ago First seen · 249 lines · 34 tokens per session scan A 60f98ab53f93
component is a command published in the GitHub repository xiaolai/claudepot-app (127 stars, last pushed 2d ago), licensed ISC. It adds 34 tokens to every session and 2,385 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-30.
component compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| componentxiaolai/claudepot-app | Command | 127 | 2d ago | ISC | A | 34 | Claude Code |
| plan-featureHoangNguyen0403/agent-skills-standard | Command | 583 | today | MIT | A | 0 | Claude Code |
| retro-learnHoangNguyen0403/agent-skills-standard | Command | 583 | today | MIT | A | 0 | Claude Code |
| vibe-agentsKhazP/vibe-coding-prompt-template | Command | 3.2k | 1mo ago | MIT | A | 0 | Claude Code |
| react-buildDekaPrayoga/AurixAgent | Command | 62 | 3mo ago | none | A | 59 | Claude Code |
| web-designlukaskellerstein/claude-my-marketplace | Command | 3 | 1mo ago | none | A | 26 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |