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/lucassantana-dev/sharekit/code-teardownnpx skills add LucasSantana-Dev/sharekit --skill code-teardowngit clone --depth 1 https://github.com/LucasSantana-Dev/sharekitWhat 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.00168 | $0.01259 |
| Opus 5 | $0.00084 | $0.00629 |
| Sonnet 5 | $0.00034 | $0.00252 |
| Haiku 4.5 | $0.00017 | $0.00126 |
Grade A, and why
code-teardown 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 — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Teardown
Reads someone else's codebase to answer one question: what do they do that WE should do?
Same contract as app-teardown (live apps); this one targets repos and reads code.
Output is a decision artifact with verdicts, not an architecture tour — for "how does X
work" documentation use doc-and-modernize.
Use When
- An external repo should be mined for architecture/pattern/DX/tooling ideas for one of our projects.
- User names a repo, OSS project, or codebase and asks what to learn, adopt, or steal from it.
- Evaluating a trending project ("should we care about X?") — the negative outcome is captured too.
Do Not Use When
- Target is a live product to browse →
app-teardown. - You will contribute to or modify the target repo →
adt-repo-intake. - Documenting OUR OWN system →
doc-and-modernize.
Inputs / Prereqs
- Target repo (URL or local path). Clone shallow to
${DEV_ROOT}/<repo>(storage policy; never$HOME, never internal disk). - OUR context lock: which project the ideas land in, its stack and constraints.
- Memory state-check FIRST:
reference_<target>_evaluated_*exists → surface prior outcome and stop unless the revisit condition is met. - Target is read-only: no issues, no PRs, no edits there.
Workflow
- Scope + constraint capture — why does their design work FOR THEM (scale, team size, ecosystem, age, funding model)? Record upfront; feeds the cargo-cult gate.
- Shallow clone + intake sweep —
git clone --depth 1. Read README, docs/, ADRs, CONTRIBUTING, CI config, package manifest, top-level layout. For large repos dispatch read-onlyExploreagents per area instead of reading serially. - Map by dimension — Architecture (boundaries, data flow, state), Code patterns (idioms, error handling, abstractions worth naming), DX (scripts, codegen, local-dev loop), Tooling/CI (build, release, quality gates), Testing (strategy, fixtures, ratio), Docs conventions (ADRs, changelogs, onboarding). 2+ dimensions minimum; note deliberate ABSENCES (what they chose not to build).
- State-check per candidate finding — do WE already have it? graphify query on the
target project (if
graphify-out/exists) + grep + memory. Hits →already-have. - Verdict + rationale per finding — apply the shared contract:
~/.agents/skills/app-teardown/references/teardown-contract.md(evidence asfile:lineat a pinned commit SHA, verdict, mandatory "[their constraint] → [applies to us?] → [action]" rationale, effort, landing spot). - Emit + remember — report to
<project>/docs/reference/<target>-teardown-<date>.md. Memory notereference_<target>_evaluated_<date>.mdwith outcome + revisit condition; "evaluated → nothing" is a first-class outcome (megabrain/llmwiki precedent). Summary: "N findings, A adopt, D adapt, H already-have, R rejected". Remove the clone if nothing was adopted and no revisit is planned.
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 · 98 lines · 168 tokens per session scan A 65fa35b2336e
code-teardown is a skill published in the GitHub repository LucasSantana-Dev/sharekit (1 stars, last pushed 2d ago), licensed MIT. It adds 168 tokens to every session and 1,259 once invoked, about $0.0008 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
prpm-development
Use when developing PRPM (Prompt Package Manager) - comprehensive knowledge base covering architecture, format conversion, package types, collections, quality standards, testing, and deployment.
creating-cursor-rules-skill
Expert guidance for creating effective Cursor IDE rules with best practices, patterns, and examples.
creating-opencode-plugins
Use when creating OpenCode plugins that hook into command, file, LSP, message, permission, server, session, todo, tool, or TUI events - provides plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript event-driven modules.
creating-kiro-packages
Use when creating Kiro steering files or hooks - provides inclusion modes (always/fileMatch/manual), foundational files (product.md/tech.md/structure.md), and JSON hook configuration with event triggers.
creating-continue-packages
Use when creating Continue rules - provides required name field, alwaysApply semantics, glob/regex patterns, and markdown format with optional frontmatter.
thoroughness
Use when implementing complex multi-step tasks, fixing critical bugs, or when quality and completeness matter more than speed - ensures comprehensive implementation without shortcuts through systematic analysis, implementation, and verification phases.