distributions/codex/skills/parametrize-and-cite/SKILL.md
Transform any data, document, deck, README, manifest, config, report, or compilation by (1) extracting every piece of dynamic information — names, links, statistics, costs, identifiers, dates, thresholds, contact details — into configurable environment variables instead of hard-coding, and (2) enforcing that every factual assertion carries at least two independent citations. Use this skill whenever the user provides compiled data and asks to debrand, parametrize, sanitize, generalize, abstract, anonymize, make reusable, harden against drift, or remove hard-coded values. Also use whenever reviewing or refactoring content that mixes brand-specific particulars with reusable structure, or that makes claims without verifiable sources. Triggers on phrases like "remove branding," "make this reusable," "transmute this," "parametrize," "no hard-coded values," "configurable," "needs citations," "verify these claims," or any request to convert a one-off artifact into a parameterized template.
npx skillsauth add organvm-iv-taxis/a-i--skills parametrize-and-citeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Two universal mandates apply to any data or compilation thereof:
These are not stylistic preferences. They are substrate disciplines that determine whether an artifact survives time (parametrization protects against drift; multi-citation protects against epistemic collapse).
Apply this skill whenever the input is a "compiled artifact" — anything that bundles structure with particulars:
If the artifact has a brand-shaped surface AND reusable bones, this skill fires. If it makes assertions, this skill fires.
Run the artifact through five phases in order. Don't skip phases — each one catches a different class of issue.
Read the artifact end-to-end before transforming anything. Build two inventories:
Note: an "assertion" is anything stated as fact that the reader is expected to believe. Opinions and recommendations are not assertions. Numbers, attributions, comparisons, and historical claims are.
Categorize each particular by what makes it dynamic. Use this taxonomy:
| Category | Examples | Env var prefix |
|---|---|---|
| Identity | company name, person name, project name, brand | IDENTITY_* |
| Locator | URL, repo path, email, phone, address | LINK_* / CONTACT_* |
| Quantitative | revenue, count, percentage, ratio, score | STAT_* |
| Monetary | price, cost, budget, fee, salary | COST_* |
| Temporal | date, deadline, duration, period | DATE_* / DURATION_* |
| Threshold | limit, quota, target, SLA | THRESHOLD_* |
| Credential | API key, token, account ID | SECRET_* (never default) |
| Categorical | tier, plan, region, jurisdiction | CATEGORY_* |
Anything that could differ between instances of this artifact's reuse is dynamic, even if it feels permanent today. "Our company name" is dynamic — the artifact might be reused by an acquirer, a fork, a parallel project, or a customer-facing variant.
Replace each dynamic particular with an env-var reference. Choose a template syntax that matches the artifact's medium:
{{ IDENTITY_COMPANY_NAME }} (Mustache-style) or ${IDENTITY_COMPANY_NAME} (shell-style)${IDENTITY_COMPANY_NAME} (envsubst-style) or platform-native (!Ref, ${{ vars.X }}, etc.)os.environ["IDENTITY_COMPANY_NAME"], process.env.IDENTITY_COMPANY_NAME)Generate a paired .env.example (or platform-equivalent: config.example.yaml, terraform.tfvars.example, etc.) with every variable, a one-line comment describing what it controls, and a sample value drawn from the original artifact.
# Identity
IDENTITY_COMPANY_NAME="Example Corp" # Replaces brand references in headers, footers
IDENTITY_PRODUCT_NAME="ExampleProduct" # Used in feature descriptions
# Stats — quarterly report figures
STAT_Q4_REVENUE_USD=4200000 # Q4 top-line revenue
STAT_Q4_GROWTH_PCT=23 # YoY growth percentage
# Costs — pricing tier defaults
COST_TIER_STARTER_USD_MONTH=49 # Starter plan monthly price
Never inline secrets even as examples. For SECRET_* variables, the example file shows the variable name and a placeholder (SECRET_API_KEY=changeme-in-production), never a real key.
For every assertion in the inventory, attach at least two independent citations. Define independence carefully:
Citation format depends on the medium:
[^1] + bibliography section# Source: <url> (accessed YYYY-MM-DD); cross-checked: <url>Where you cannot find two independent citations, do one of the following — explicitly, never silently:
[CITATION-REQUIRED] in the output and list in a "Verification gap" section.Never invent or fabricate sources. Never paper over with weasel phrases ("studies have shown," "it is widely known").
Produce four artifacts as a set:
.env.example (or platform equivalent) — every variable with comment and sample value.CITATIONS.md — full bibliography organized by section, with accessed-dates and brief notes on independence.TRANSFORMATION_LOG.md — what was changed, what was flagged, what was removed, with rationale.The four-artifact emission is non-negotiable. Shipping the transformed artifact without the .env.example strands the user; without CITATIONS.md the citations are unverifiable; without the log the user can't audit what you changed.
Some particulars feel permanent but are dynamic on reuse. Treat each as a variable:
DATE_PUBLICATION_YEAR, not literal 2026STAT_TEAM_HEADCOUNT, even if it changes annuallyIDENTITY_LICENSE_TYPE, in case the template is reused under different termsTHRESHOLD_GDPR_RETENTION_DAYS, in case the template moves to another regimeIf you're unsure whether something is dynamic, parametrize it. The cost of an extra env var is near-zero. The cost of a hard-coded value that needed to vary is reissuing the whole artifact.
These are assertions and require citation:
These are NOT assertions (no citation needed):
If a sentence both recommends AND asserts, split it: "Adopt approach X (recommendation). Approach X has been measured at 40% lower latency [^1][^2] (assertion)."
Before declaring the transformation complete, verify:
.env.example has one line per variable, with comment and sampleThe last check matters: if the artifact becomes incoherent when the particulars are removed, the artifact was about the particulars and parametrization is the wrong move — surface this to the user rather than ship a degraded version.
For detailed pattern examples by artifact type (decks, READMEs, configs, reports), see references/transformation-patterns.md.
For citation-independence judgment calls (when is a source "the same parent org"? when does a secondary count as independent?), see references/citation-independence.md.
testing
Four-phase protocol for clearing accumulated drift between memory claims, CLAUDE.md citations, and on-disk reality. Detects stale citations, missing files, and orphan plans; classifies findings; emits proposed diffs; codifies prevention. Companion to closeout (closeout discovers orphans; this skill polishes them). Discovery ≠ remediation — Phase 3 emits proposed diffs only; constitutional doc edits require explicit conductor authorization.
development
Optimize resumes and CVs for impact, ATS compatibility, and audience targeting. Supports multiple formats (chronological, functional, hybrid), accomplishment framing (STAR/XYZ), and tailoring for specific roles. Triggers on resume review, CV update, job application prep, or career document requests.
testing
Transfer context between AI agent sessions with structured handoff protocols, state serialization, and decision log preservation. Covers multi-agent coordination, context compression, and continuity patterns. Triggers on agent handoff, session transfer, or multi-agent continuity requests.
tools
Craft compelling fiction and creative nonfiction with attention to structure, voice, prose style, and revision. Supports short stories, novel chapters, essays, and hybrid forms. Triggers on creative writing, fiction writing, story craft, prose style, or literary technique requests.