[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79ZR3FHNAF646TWR6N7PA3B":3,"skill-same:01M79ZR3FHNAF646TWR6N7PA3B":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M79ZR3FHNAF646TWR6N7PA3B","ingest-reference",null,"Manage the lifecycle of agent skill references. Use when adding external docs to a skill's references\u002F directory, formatting raw content into structured references, adding citation metadata, or auditing\u002Fpruning stale references.","ibuchanan\u002Fagent-skills-toolkit","ibuchanan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F763608?v=4","01M79ZQ46CZZNC1F9MRXDKY2RY","Ian Buchanan","01M79ZQ470HC1SXES60G385EJX",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fingest-reference\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ingest-reference\ndescription: Manage the lifecycle of agent skill references. Use when adding external docs to a skill's references\u002F directory, formatting raw content into structured references, adding citation metadata, or auditing\u002Fpruning stale references.\n---\n\n# Ingest Reference\n\nManage the lifecycle of reference materials for agent skills: decision, ingestion, formatting, attribution, and maintenance.\n\n## Use this skill for\n\n- adding external documentation or specifications to a skill's `references\u002F` directory\n- copying or adapting selected shared repository resources into a target skill's own `references\u002F` directory so the skill is self-contained\n- converting raw text or web content into structured, agent-friendly markdown references\n- adding or updating `CITATION.cff` files for provenance and attribution\n- auditing a skill's references for staleness, bloat, or duplication\n- pruning references that no longer improve skill decision quality\n\n## Toolchain\n\n- **Git Submodule**: Preferred as an acquisition source for external repos, not as a runtime dependency of the installed skill. Copy needed content into the skill's `references\u002F`.\n- **Firecrawl**: Use `firecrawl scrape` for one-offs or `crawl` for site-wide ingestion.\n- **Docling**: Preferred for PDF and Word document extraction to high-quality Markdown.\n- **OKF (Open Knowledge Format)**: Use version `0.2.0` for per-document frontmatter.\n\n## Workflow\n\n1. **Decide Ingestion Method and Destination**.\n   - Identify the target skill directory and which selected material its executing agent actually needs. Shared repository references and the skill's own spec are authoring inputs, not runtime resources merely because they are available in the checkout.\n   - **Local Material**: Copy or adapt needed shared material into `\u003Ctarget-skill>\u002Freferences\u002F`. Reuse the selected source without repeating research. Keep required behavior inline in `SKILL.md`; do not bundle an entire spec merely to avoid implementing its instructions.\n   - **Controlled Inclusion**: Use **Git Submodules** as version-pinned acquisition sources for external repositories. A checkout under `vendor\u002F` is not a delivered reference; copy the required material into the target skill's `references\u002F` rather than requiring submodule initialization at runtime.\n   - **Dynamic Scrape**: Use **Firecrawl** for web docs. Leverages `onlyMainContent` to achieve up to **93% token reduction** vs raw HTML. Validate URLs against authoritative domains (e.g., `*.atlassian.com`, `*.github.io`).\n   - **High-Fidelity Extraction**: Use **Docling** for PDF\u002FWord documents. Preserves semantic structures (tables, formulas, reading order) to minimize hallucinations.\n2. **Structure with OKF Frontmatter**.\n   - Wrap every ingested `.md` file in OKF `0.2.0` frontmatter immediately after extraction.\n   - **OKF Template (v0.2.0)**:\n\n     ```yaml\n     ---\n     okf_version: '0.2.0'\n     type: [e.g., Web Scrape, PDF Conversion, Git Submodule]\n     title: \"Canonical Title\"\n     description: \"What this document provides.\"\n     sources:\n       - id: source-id\n         resource: \"https:\u002F\u002Fexample.com\u002Fsource.md\"\n         title: \"Original Title\"\n         last_modified: 'YYYY-MM-DD'\n         author: \"human:AAID or org:Name\"\n     generated:\n       by: agent:rovo # or Tool\u002FVersion\n       at: '2026-07-28T09:04:42Z'\n     license: \"Apache-2.0\" # Optional: if different from root CITATION.cff\n     ---\n     ```\n\n3. **Apply the 5\u002F5000 Rule (Progressive Disclosure)**.\n   - If a doc set exceeds **5 files** or **5,000 tokens**, create a `SUMMARY.md` (wrapped in OKF) to act as a context map.\n   - List sub-documents in a table format: `| Source | Purpose | Loading Trigger |`.\n   - This prevents \"context rot\" and ensures the agent loads detailed context only when intent-based triggers are met.\n4. **Dual-Layer Attribution**.\n   - **Global (CITATION.cff)**: Provenance at the target skill's root for authors, primary repositories, and top-level licenses; do not rely solely on the toolkit root's metadata. Preserve upstream attribution and license notices when copying or adapting material.\n   - **Document (OKF 0.2.0)**: Per-file extraction metadata (exact source, timestamp, specific author).\n5. **Link with Intent-Based Triggers**.\n   - In `SKILL.md`, add a \"Reference load triggers\" section pointing to the target skill's bundled `references\u002F` files, with paths relative to the skill directory.\n   - Rewrite required links inside copied references to bundled destinations too. Include necessary linked material or remove irrelevant links; do not leave required reads pointing to shared directories, sibling skills, absolute checkout paths, or symlinks escaping the package. Retain source paths or URLs only as provenance, clearly separate from runtime load instructions.\n   - Target the `SUMMARY.md` first for sets exceeding 5 files or 5,000 tokens to enable hierarchical exploration.\n   - Trigger phrases must match user intent: \"Read `references\u002Fapi\u002FSUMMARY.md` when the user asks for auth endpoint details.\"\n6. **Maintain and Audit**.\n   - Update submodule SHAs monthly or upon upstream release.\n   - Conduct a 90-day provenance audit of OKF `timestamp` and CFF `date-released` to detect stale content.\n\n## Reference Load Triggers\n\n- Read `references\u002Fcitation-file-format.md` when adding or updating root `CITATION.cff` metadata.\n- Read `references\u002Fokf-0.2.0-spec.md` for the definitive Open Knowledge Format v0.2.0 specification.\n- Read `references\u002Fagentskills\u002FSUMMARY.md` when the user asks about the structure or management of references in agent skills.\n\n## Guardrails\n\n- **No Mystery Docs**: Every file in `references\u002F` MUST have OKF frontmatter or be indexed in an OKF-wrapped `SUMMARY.md`.\n- **Semantic Chunking**: Do not split documents at arbitrary token boundaries. Extraction tools should preserve logical section\u002Fparagraph boundaries.\n- **Provenance Parity**: Ensure root `CITATION.cff` and document OKF metadata remain in sync regarding sources and authors.\n- **Validation**: Validate that extracted tables and formulas (LaTeX) maintain structural integrity before finalizing ingestion. Trace required loads from the target `SKILL.md` through the copied references and confirm they exist inside the skill directory without access to the authoring checkout. Report missing material or licensing restrictions as blockers; do not silently substitute an external runtime dependency.\n- **Ownership**: `develop-skill` owns self-contained instruction authoring and routine copying of selected local references. This skill owns substantial reference acquisition, adaptation, and localization. `manage-skills` owns standalone package portability review; successful structural validation alone is insufficient.\n","# Ingest Reference\n\nManage the lifecycle of reference materials for agent skills: decision, ingestion, formatting, attribution, and maintenance.\n\n## Use this skill for\n\n- adding external documentation or specifications to a skill's `references\u002F` directory\n- copying or adapting selected shared repository resources into a target skill's own `references\u002F` directory so the skill is self-contained\n- converting raw text or web content into structured, agent-friendly markdown references\n- adding or updating `CITATION.cff` files for provenance and attribution\n- auditing a skill's references for staleness, bloat, or duplication\n- pruning references that no longer improve skill decision quality\n\n## Toolchain\n\n- **Git Submodule**: Preferred as an acquisition source for external repos, not as a runtime dependency of the installed skill. Copy needed content into the skill's `references\u002F`.\n- **Firecrawl**: Use `firecrawl scrape` for one-offs or `crawl` for site-wide ingestion.\n- **Docling**: Preferred for PDF and Word document extraction to high-quality Markdown.\n- **OKF (Open Knowledge Format)**: Use version `0.2.0` for per-document frontmatter.\n\n## Workflow\n\n1. **Decide Ingestion Method and Destination**.\n   - Identify the target skill directory and which selected material its executing agent actually needs. Shared repository references and the skill's own spec are authoring inputs, not runtime resources merely because they are available in the checkout.\n   - **Local Material**: Copy or adapt needed shared material into `\u003Ctarget-skill>\u002Freferences\u002F`. Reuse the selected source without repeating research. Keep required behavior inline in `SKILL.md`; do not bundle an entire spec merely to avoid implementing its instructions.\n   - **Controlled Inclusion**: Use **Git Submodules** as version-pinned acquisition sources for external repositories. A checkout under `vendor\u002F` is not a delivered reference; copy the required material into the target skill's `references\u002F` rather than requiring submodule initialization at runtime.\n   - **Dynamic Scrape**: Use **Firecrawl** for web docs. Leverages `onlyMainContent` to achieve up to **93% token reduction** vs raw HTML. Validate URLs against authoritative domains (e.g., `*.atlassian.com`, `*.github.io`).\n   - **High-Fidelity Extraction**: Use **Docling** for PDF\u002FWord documents. Preserves semantic structures (tables, formulas, reading order) to minimize hallucinations.\n2. **Structure with OKF Frontmatter**.\n   - Wrap every ingested `.md` file in OKF `0.2.0` frontmatter immediately after extraction.\n   - **OKF Template (v0.2.0)**:\n\n     ```yaml\n     ---\n     okf_version: '0.2.0'\n     type: [e.g., Web Scrape, PDF Conversion, Git Submodule]\n     title: \"Canonical Title\"\n     description: \"What this document provides.\"\n     sources:\n       - id: source-id\n         resource: \"https:\u002F\u002Fexample.com\u002Fsource.md\"\n         title: \"Original Title\"\n         last_modified: 'YYYY-MM-DD'\n         author: \"human:AAID or org:Name\"\n     generated:\n       by: agent:rovo # or Tool\u002FVersion\n       at: '2026-07-28T09:04:42Z'\n     license: \"Apache-2.0\" # Optional: if different from root CITATION.cff\n     ---\n     ```\n\n3. **Apply the 5\u002F5000 Rule (Progressive Disclosure)**.\n   - If a doc set exceeds **5 files** or **5,000 tokens**, create a `SUMMARY.md` (wrapped in OKF) to act as a context map.\n   - List sub-documents in a table format: `| Source | Purpose | Loading Trigger |`.\n   - This prevents \"context rot\" and ensures the agent loads detailed context only when intent-based triggers are met.\n4. **Dual-Layer Attribution**.\n   - **Global (CITATION.cff)**: Provenance at the target skill's root for authors, primary repositories, and top-level licenses; do not rely solely on the toolkit root's metadata. Preserve upstream attribution and license notices when copying or adapting material.\n   - **Document (OKF 0.2.0)**: Per-file extraction metadata (exact source, timestamp, specific author).\n5. **Link with Intent-Based Triggers**.\n   - In `SKILL.md`, add a \"Reference load triggers\" section pointing to the target skill's bundled `references\u002F` files, with paths relative to the skill directory.\n   - Rewrite required links inside copied references to bundled destinations too. Include necessary linked material or remove irrelevant links; do not leave required reads pointing to shared directories, sibling skills, absolute checkout paths, or symlinks escaping the package. Retain source paths or URLs only as provenance, clearly separate from runtime load instructions.\n   - Target the `SUMMARY.md` first for sets exceeding 5 files or 5,000 tokens to enable hierarchical exploration.\n   - Trigger phrases must match user intent: \"Read `references\u002Fapi\u002FSUMMARY.md` when the user asks for auth endpoint details.\"\n6. **Maintain and Audit**.\n   - Update submodule SHAs monthly or upon upstream release.\n   - Conduct a 90-day provenance audit of OKF `timestamp` and CFF `date-released` to detect stale content.\n\n## Reference Load Triggers\n\n- Read `references\u002Fcitation-file-format.md` when adding or updating root `CITATION.cff` metadata.\n- Read `references\u002Fokf-0.2.0-spec.md` for the definitive Open Knowledge Format v0.2.0 specification.\n- Read `references\u002Fagentskills\u002FSUMMARY.md` when the user asks about the structure or management of references in agent skills.\n\n## Guardrails\n\n- **No Mystery Docs**: Every file in `references\u002F` MUST have OKF frontmatter or be indexed in an OKF-wrapped `SUMMARY.md`.\n- **Semantic Chunking**: Do not split documents at arbitrary token boundaries. Extraction tools should preserve logical section\u002Fparagraph boundaries.\n- **Provenance Parity**: Ensure root `CITATION.cff` and document OKF metadata remain in sync regarding sources and authors.\n- **Validation**: Validate that extracted tables and formulas (LaTeX) maintain structural integrity before finalizing ingestion. Trace required loads from the target `SKILL.md` through the copied references and confirm they exist inside the skill directory without access to the authoring checkout. Report missing material or licensing restrictions as blockers; do not silently substitute an external runtime dependency.\n- **Ownership**: `develop-skill` owns self-contained instruction authoring and routine copying of selected local references. This skill owns substantial reference acquisition, adaptation, and localization. `manage-skills` owns standalone package portability review; successful structural validation alone is insufficient.\n",{"name":5,"description":7},"main","1bb40dff39c340f06c5c63fc5d9eee44db11578d","skills\u002Fingest-reference","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit","https:\u002F\u002Fgithub.com\u002Fibuchanan","https:\u002F\u002Fdeveloper.atlassian.com\u002Fblog\u002Fauthors\u002Fibuchanan\u002F","2026-11-15 03:58:15",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ibuchanan\u002Fagent-skills-toolkit --skill ingest-reference",{"tool":37,"command":38},"bunx","bunx skills add ibuchanan\u002Fagent-skills-toolkit --skill ingest-reference",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ibuchanan\u002Fagent-skills-toolkit --skill ingest-reference","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fingest-reference\u002FSKILL.md",true,[45,51,57,61,65,69,73],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"CITATION.cff","OTHER","其他",1276,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fingest-reference\u002FCITATION.cff",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"evals\u002Fingest-reference.yaml","REFERENCE","参考文档",2268,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fingest-reference\u002Fevals\u002Fingest-reference.yaml",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fagentskills\u002Fdocs\u002Fskill-creation\u002Fbest-practices.mdx",14875,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fingest-reference\u002Freferences\u002Fagentskills\u002Fdocs\u002Fskill-creation\u002Fbest-practices.mdx",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fagentskills\u002Fdocs\u002Fspecification.mdx",7273,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fingest-reference\u002Freferences\u002Fagentskills\u002Fdocs\u002Fspecification.mdx",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fagentskills\u002FSUMMARY.md",773,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fingest-reference\u002Freferences\u002Fagentskills\u002FSUMMARY.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fcitation-file-format.md",5095,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fingest-reference\u002Freferences\u002Fcitation-file-format.md",{"path":74,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fokf-0.2.0-spec.md",2292,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fingest-reference\u002Freferences\u002Fokf-0.2.0-spec.md",[78,85,92,99,106,113],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7BEVBHEW1WCPD3ZN93861J8","develop-skill","Author or revise agent skill instructions from a spec or clear intent. Use for initial authoring, evidence-led instruction repair, or restructuring. Redirect specialist-only research, activation repair, citation, eval, and management tasks.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fdevelop-skill\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7BEV3P3RR9V2H5C7FQF1VX0","capture-microskill","Encode human-selected CLI or MCP tool lessons into single-file Agent Skills. Use when asked to capture lessons or merge them into a microskill. Not for discovering lessons, diagnosing failures, or documenting general practices.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fcapture-microskill\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M79ZS3ENBFH4Q0MZBG7WF1G7","write-citations","Create or update a CITATION.cff for a skill or repo from provenance-backed references under references\u002F. Use when adding, updating, or maintaining citations, citable metadata, preferred citation, authors, DOI, or attribution.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-citations\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M79ZS29P3TY02Q60ERANRDD8","new-skill","A sample skill for testing write-citations.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-citations\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fnew-skill\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M79ZS171FWCCP5XNHP39T8P2","existing-skill","A sample skill for testing write-citations updates.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-citations\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fexisting-skill\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M79ZRZZ2892XE6FBTH9M6BW6","empty-skill","A sample skill with no references for testing write-citations edge cases.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-citations\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fempty-skill\u002FSKILL.md",[],[]]