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.
npx agentmods add skills/salah-xd/appcn/document-componentnpx skills add Salah-XD/appCN --skill document-componentgit clone --depth 1 https://github.com/Salah-XD/appCNWhat 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 | $0.00069 | $0.00917 |
| Opus 5 | $0.00034 | $0.00458 |
| Sonnet 5 | $0.00014 | $0.00183 |
| Haiku 4.5 | $0.00007 | $0.00092 |
Grade A, and why
document-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 2d 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 — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/document-component
This skill writes (or rewrites) a <slug>.meta.ts for a component that
already exists in packages/ui/src/. Component code must not change — only
the meta file.
Step 0 — Confirm target
Ask which component if not given. Verify:
packages/ui/src/{components,ai}/<slug>.tsxexists.- Note whether
<slug>.meta.tsalready exists (you may be rewriting).
Step 1 — Read the source
Read the full component .tsx. Note:
- Header doc comment (often names the delight detail).
- The exported
<Name>Propsinterface — every public prop, in order, with its TSDoc. - Defaults (look for
prop = valuein the destructured signature). - Animations +
useReducedMotion()branches (drives the delight bullet and the a11y bullet about reduced motion). accessibilityRole,accessibilityLabel,accessibilityState,hitSlop— these drive the a11y section.
If ../lib/motion / ../lib/haptics are used, those are themselves shipped
as registry deps and worth mentioning in anatomy / a11y where relevant.
Step 2 — Compose the meta
Use the existing metas in packages/ui/src/{components,ai}/*.meta.ts as
reference for voice and depth.
import type { ComponentMeta } from "../lib/meta";
export const meta: ComponentMeta = {
slug: "...",
title: "...",
category: "base" | "ai",
description: "<one line — match the component's header doc comment if it has one>",
anatomy: "<2–4 sentences: what's it made of, when to reach for it>",
delight: "<the one non-obvious motion / haptic / behavior>",
props: [
/* every public prop, in interface order, with TSDoc mirrored into description */
],
examples: [
{ title: "Basic", description: "...", code: `...` }, // canonical demo
{ title: "<feature>", description: "...", code: `...` },
// more if the component has clearly distinct modes
],
a11y: [
/* one bullet per relevant accessibility behavior:
roles, labels, state, hit slop, reduced-motion, focus/press feedback */
],
};
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.
- 2d ago First seen · 103 lines · 69 tokens per session scan A eb5a8dde5545
document-component is a skill published in the GitHub repository Salah-XD/appCN (3 stars, last pushed 3mo ago), licensed MIT. It adds 69 tokens to every session and 917 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
shadcn-vue
Manages shadcn-vue components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn-vue, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for…
shadcn-ui-flutter
A comprehensive Flutter UI library inspired by shadcn/ui. Provides high-quality, customizable, and accessible components including Buttons, Cards, Forms, and more. Use this skill when building Flutter UIs, implementing design systems, or needing specific component usage examples.
coss-particles
Index of all COSS UI particle examples. Use when implementing UI features to find copy-paste-ready component patterns built on coss primitives. Each particle has a description and a JSON URL for easy installation.
coss
Helps implement coss UI components correctly. Use when building UIs with coss primitives and patterns (buttons, dialogs, selects, forms, menus, tabs, segmented controls, inputs, toasts, etc.), migrating from shadcn/Radix to coss/Base UI, composing trigger-based overlays, or troubleshooting coss component behavior.…
maquina-ui-standards
Build consistent, accessible UIs in Rails using maquinacomponents. Use this skill when implementing UI for features, creating views, building forms, or reviewing UI specs. Triggers on view creation, UI implementation, form building, layout design, or mentions of maquinacomponents usage.
creative-tim-ui
Creative Tim UI block library assistant. Use when adding, generating, or modifying UI blocks/components/pages from creative-tim.com/ui. Covers design philosophy (minimalism, the 95% rule, research-first), block discovery, both CLI install methods, PRO API key setup, and Creative Tim design rules (orange brand…