Absorb — Adopt Prior Art, Don't Reinvent It
Effort: light — a repo ingest (metadata probe + shallow clone) and a cross-family grade of the port. Removes: reinventing a capability prior art already solved — the from-scratch duplicate you'd owe every bug for.
Capability is king. A repo is a vehicle for a capability. When you need something
an existing project already does, do not build a duplicate from scratch, and do not
clone-and-paste. Find the best prior art, extract the capability, re-engineer it to
fit your harness, and cite the scaffold. The citation is a fact, not a decoration.
When to run
- You are asked to add a capability (a tool, skill, agent, pipeline) that open source
likely already solves.
- You are about to
git clone and copy code verbatim — stop; this is the path instead.
- Skip it for a single snippet, a config value, or a fact lookup. Just read those.
Steps
- Hunt prior art first. Search before you build. A duplicate you invent is worse
than a scaffold you adopt: you inherit zero field testing and you owe all the bugs.
- Ingest beyond the README. Pull the project metadata (license, activity,
language) from the platform API. Shallow-clone into a scratch directory. Read the
code and the tests. The README is marketing; the code is the truth.
- Run the trust gates.
- License: permissive (MIT / Apache / BSD / MPL) = safe to re-engineer.
Copyleft (GPL / AGPL) = technique-only — re-engineer the idea, never copy the
code. No license = treat as all-rights-reserved, technique-only.
Non-commercial terms = a blocker; take it to your human.
- Shady scan: grep for cloak / spam / fake-review / scam patterns. Flag loudly.
- No wild installs: never
pip install / npm install an unvetted dependency
(typo-squatting is a real supply-chain attack). Re-engineer as thin code over
your own primitives instead.
- Is the capability real? Verify claims against independent evidence. A seller's
blog is a claim, not evidence. Verdict: real / hype / scam / unverifiable.
- Bounded egress: anything the adopted version fetches must be throttled,
cached, and killable.
- Deconstruct into a capability map. For every ability the project provides,
record: what it does, how, its load-bearing seams, its bloat or risk, what you can
reuse from your own stack, and whether it lands native or behind a thin adapter.
Every capability is preserved or refuted with evidence. A silently dropped
capability is a defect.
- Write the re-engineering spec. The seams to build, the bloat you are dropping
(recorded loudly, never silently), and one failing contract test per capability
that asserts a real side-effect — a file, a database row, real output. Mock only a
paid external API's transport, never the logic.
- Reconstruct red-first. Commit the failing tests, then build until green across
the whole seam. A model from a different family than the builder grades the result
— the builder never grades its own work.
- Cite and record. Write the scaffold credit where the capability now lives:
author, project, license, what is borrowed (the scaffold) and what is yours (the
re-engineering). Never invent a credit. Never strip one.
Hard rules — any one of these fails the skill
- Copying code verbatim instead of re-engineering the capability.
- Building a duplicate without ever searching for prior art.
- Trusting the README or a marketing page over the code.
- Installing a wild dependency instead of re-engineering the technique.
- Copying copyleft or unlicensed code (technique-only, always).
- Dropping a capability without a written refutation.
- Mock theater in a capability test — the test must touch a real side-effect.
- Shipping without the scaffold citation.
Works well with
- red-first — the contract tests that guard each capability.
- sniper-testing — real side-effects, no mock theater.
- blind-tribunal — cross-family grading of the port.
- decision-bar — license blockers and taste calls go to your human; everything else executes.
1---2name: absorb3description: Use when you need a capability an open-source project already provides — adopt it and re-engineer it as a native skill instead of inventing a duplicate. Trigger words: absorb, adopt, port, re-engineer, ingest a repo, prior art, capability port, make this native.4license: MIT5---67# Absorb — Adopt Prior Art, Don't Reinvent It8**Effort:** light — a repo ingest (metadata probe + shallow clone) and a cross-family grade of the port. Removes: reinventing a capability prior art already solved — the from-scratch duplicate you'd owe every bug for.910**Capability is king.** A repo is a vehicle for a capability. When you need something11an existing project already does, do not build a duplicate from scratch, and do not12clone-and-paste. Find the best prior art, extract the capability, re-engineer it to13fit your harness, and cite the scaffold. The citation is a fact, not a decoration.1415## When to run1617- You are asked to add a capability (a tool, skill, agent, pipeline) that open source18 likely already solves.19- You are about to `git clone` and copy code verbatim — stop; this is the path instead.20- Skip it for a single snippet, a config value, or a fact lookup. Just read those.2122## Steps23241. **Hunt prior art first.** Search before you build. A duplicate you invent is worse25 than a scaffold you adopt: you inherit zero field testing and you owe all the bugs.262. **Ingest beyond the README.** Pull the project metadata (license, activity,27 language) from the platform API. Shallow-clone into a scratch directory. Read the28 code and the tests. The README is marketing; the code is the truth.293. **Run the trust gates.**30 - *License:* permissive (MIT / Apache / BSD / MPL) = safe to re-engineer.31 Copyleft (GPL / AGPL) = technique-only — re-engineer the idea, never copy the32 code. No license = treat as all-rights-reserved, technique-only.33 Non-commercial terms = a blocker; take it to your human.34 - *Shady scan:* grep for cloak / spam / fake-review / scam patterns. Flag loudly.35 - *No wild installs:* never `pip install` / `npm install` an unvetted dependency36 (typo-squatting is a real supply-chain attack). Re-engineer as thin code over37 your own primitives instead.38 - *Is the capability real?* Verify claims against independent evidence. A seller's39 blog is a claim, not evidence. Verdict: real / hype / scam / unverifiable.40 - *Bounded egress:* anything the adopted version fetches must be throttled,41 cached, and killable.424. **Deconstruct into a capability map.** For every ability the project provides,43 record: what it does, how, its load-bearing seams, its bloat or risk, what you can44 reuse from your own stack, and whether it lands native or behind a thin adapter.45 Every capability is **preserved or refuted with evidence**. A silently dropped46 capability is a defect.475. **Write the re-engineering spec.** The seams to build, the bloat you are dropping48 (recorded loudly, never silently), and one failing contract test per capability49 that asserts a real side-effect — a file, a database row, real output. Mock only a50 paid external API's transport, never the logic.516. **Reconstruct red-first.** Commit the failing tests, then build until green across52 the whole seam. A model from a different family than the builder grades the result53 — the builder never grades its own work.547. **Cite and record.** Write the scaffold credit where the capability now lives:55 author, project, license, what is borrowed (the scaffold) and what is yours (the56 re-engineering). Never invent a credit. Never strip one.5758## Hard rules — any one of these fails the skill5960- Copying code verbatim instead of re-engineering the capability.61- Building a duplicate without ever searching for prior art.62- Trusting the README or a marketing page over the code.63- Installing a wild dependency instead of re-engineering the technique.64- Copying copyleft or unlicensed code (technique-only, always).65- Dropping a capability without a written refutation.66- Mock theater in a capability test — the test must touch a real side-effect.67- Shipping without the scaffold citation.6869## Works well with7071- [red-first](../red-first/SKILL.md) — the contract tests that guard each capability.72- [sniper-testing](../sniper-testing/SKILL.md) — real side-effects, no mock theater.73- [blind-tribunal](../blind-tribunal/SKILL.md) — cross-family grading of the port.74- [decision-bar](../decision-bar/SKILL.md) — license blockers and taste calls go to your human; everything else executes.