[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77Q5PBW6Q3EMA3SE63GSC0X":3,"skill-same:01M77Q5PBW6Q3EMA3SE63GSC0X":47},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77Q5PBW6Q3EMA3SE63GSC0X","cf-reference-audit",null,"Invoke when the user asks to audit, check, or verify the references, bibliography, or citations of a paper (.bib with optional .tex, a PDF, or a Word .docx), to screen for hallucinated or fabricated references, or to check that citations say what the cited work says. Also invoke after you add or edit bibliography entries yourself, before reporting the paper as done.","constructorfabric\u002Freference-audit","constructorfabric","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F286363322?v=4","01M74EHWDT73DH7WYE949KK2Y7","Constructor Fabric","01M77Q5D9863NDBZB00CXQMHJM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Freference-audit\u002Fblob\u002Fmain\u002Fkit\u002Fskills\u002Freference-audit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cf-reference-audit\ndescription: \"Invoke when the user asks to audit, check, or verify the references, bibliography, or citations of a paper (.bib with optional .tex, a PDF, or a Word .docx), to screen for hallucinated or fabricated references, or to check that citations say what the cited work says. Also invoke after you add or edit bibliography entries yourself, before reporting the paper as done.\"\n---\n\n# Reference Audit\n\nAudit a paper's references with the [`reference-audit`](https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Freference-audit)\nCLI. It decides which real-world document each reference points to and flags references that match\nnothing real. Report what the tool found. Never fill a gap with your own guess.\n\n## 1. Prerequisites (resolve before auditing)\n\n1. **The CLI.** Run `reference-audit --help`. If the command is missing, tell the user and offer\n   `uv tool install reference-audit` (it needs [`uv`](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F)). Install only\n   with the user's approval. In a clone of the reference-audit repository, `uv run reference-audit`\n   works without installing.\n2. **The input.** Pick one form. The forms cannot be mixed:\n   - `reference-audit audit \u003Cmain.tex> \u003Crefs.bib>`: the manuscript adds cited\u002Funcited bookkeeping\n     and the citing sentences that `--check-citations` needs. The main `.tex` is the one with\n     `\\documentclass`. The tool follows its `\\input`\u002F`\\include` itself.\n   - `reference-audit audit \u003Crefs.bib>`: every entry is still checked, but citedness is unknown.\n   - `reference-audit audit \u003Cpaper.pdf>`: by default a language model on the OpenAI API reads the\n     reference list, so **the PDF is sent to OpenAI**. Say so before running it on an unpublished\n     paper. `--pdf-extractor grobid` uses a local GROBID service instead.\n   - `reference-audit audit \u003Cpaper.docx>`: only Word's native structured bibliography is checked.\n     Typed-in references are not checked. Pass this warning on to the user.\n\n   If several `.tex` or `.bib` files could be the input, ask the user which one to use.\n3. **Keys.** Settings and API keys live in `~\u002F.config\u002Freference-audit\u002Fconfig.toml`. Never ask the\n   user to paste a key into the chat. Never write a key into the project and never print one. A run\n   without keys still works. Without an LLM key, the entries that need LLM adjudication end up\n   unresolved, and the reason says so. Report that as it is.\n\n## 2. Run the audit\n\n```bash\nreference-audit audit paper.tex refs.bib --format json > audit.json\n```\n\n- Write the JSON to a scratch location outside the paper's sources. Stdout carries only the JSON\n  report. Progress, logs and the Word warning go to stderr. Read stderr when the exit code is\n  non-zero.\n- A networked audit can take minutes on a long bibliography. Use a generous timeout or run it in\n  the background. Do not cut it short and report a partial result.\n- Results are cached in `.reference_audit\u002Fcache.db` beside the input. A re-run after edits only\n  re-checks entries that changed or failed before. Use `--fresh` only when the user asks for it.\n- Useful options:\n  - `--check-citations` checks each citing sentence against the cited work's abstract (needs the\n    LLM and citing sentences).\n  - `--no-llm` gives a deterministic run.\n  - `--no-network` parses only, with no verdicts.\n  - `--fail-on hallucinated|multiple|contradiction|unresolved` exits non-zero for gating.\n  - `reference-audit audit --help` lists the rest.\n\n## 3. Read the report\n\nTop level: `entries`, `cited_but_missing` (`\\cite` keys with no entry), `uncited`, `unparsed`\n(entries the tool could not read, with the reason), `notes` (input caveats), and `summary`.\n\nPer entry (`entries[i]`), the key is `entry.key`, and `verdict` holds the outcome:\n\n| `verdict` | Meaning | What to tell the user |\n| --- | --- | --- |\n| `kind: \"none\"` | Matches no real document: a likely hallucination. | List it first, as a likely fabricated reference. |\n| `kind: \"contradiction\"` | A DOI\u002FarXiv id resolves, but the cited fields disagree with that work (`contradiction_findings`). | Show the conflicting fields and the resolved work. |\n| `kind: \"multiple\"` | Several distinct works fit. | Ask the user which one is meant. |\n| `kind: \"exactly_one\"` | Resolved to one work (`artifacts[0].best_record`). | Report its `field_findings` with status `error` or `uncertain`. |\n| `null` | The tool could not check it. `unresolved_reasons` says why. | List it as **unable to verify**, with the reasons. It is neither a pass nor a hallucination. |\n\n`issues` holds per-entry problems such as backfilled or normalized identifiers. With\n`--check-citations`, `alignment_findings[].status` is one of the following:\n\n- `supported`\n- `contradicted`: the citation may misrepresent the source. Quote `evidence_quote`.\n- `not_in_abstract`: an advisory only. An abstract is a summary.\n- `unverifiable`\n\n## 4. Report and fix\n\n- Report likely hallucinations first, then the entries the tool could not verify, then the\n  remaining issues. Give the counts from `summary`. Point to the full report file.\n- Never delete or rewrite a reference flagged `none` on your own. Show it to the user. If you wrote\n  that reference yourself, say so plainly.\n- Change a `.bib` only with values the report supplies: a backfilled DOI, a corrected field's\n  `canonical_value`, or `canonical_bibtex`. Ask before you edit, unless the user already asked for\n  fixes. Never invent a DOI, author, venue or year to make an entry pass.\n- After you edit, re-run the audit and report the new result.\n","# Reference Audit\n\nAudit a paper's references with the [`reference-audit`](https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Freference-audit)\nCLI. It decides which real-world document each reference points to and flags references that match\nnothing real. Report what the tool found. Never fill a gap with your own guess.\n\n## 1. Prerequisites (resolve before auditing)\n\n1. **The CLI.** Run `reference-audit --help`. If the command is missing, tell the user and offer\n   `uv tool install reference-audit` (it needs [`uv`](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F)). Install only\n   with the user's approval. In a clone of the reference-audit repository, `uv run reference-audit`\n   works without installing.\n2. **The input.** Pick one form. The forms cannot be mixed:\n   - `reference-audit audit \u003Cmain.tex> \u003Crefs.bib>`: the manuscript adds cited\u002Funcited bookkeeping\n     and the citing sentences that `--check-citations` needs. The main `.tex` is the one with\n     `\\documentclass`. The tool follows its `\\input`\u002F`\\include` itself.\n   - `reference-audit audit \u003Crefs.bib>`: every entry is still checked, but citedness is unknown.\n   - `reference-audit audit \u003Cpaper.pdf>`: by default a language model on the OpenAI API reads the\n     reference list, so **the PDF is sent to OpenAI**. Say so before running it on an unpublished\n     paper. `--pdf-extractor grobid` uses a local GROBID service instead.\n   - `reference-audit audit \u003Cpaper.docx>`: only Word's native structured bibliography is checked.\n     Typed-in references are not checked. Pass this warning on to the user.\n\n   If several `.tex` or `.bib` files could be the input, ask the user which one to use.\n3. **Keys.** Settings and API keys live in `~\u002F.config\u002Freference-audit\u002Fconfig.toml`. Never ask the\n   user to paste a key into the chat. Never write a key into the project and never print one. A run\n   without keys still works. Without an LLM key, the entries that need LLM adjudication end up\n   unresolved, and the reason says so. Report that as it is.\n\n## 2. Run the audit\n\n```bash\nreference-audit audit paper.tex refs.bib --format json > audit.json\n```\n\n- Write the JSON to a scratch location outside the paper's sources. Stdout carries only the JSON\n  report. Progress, logs and the Word warning go to stderr. Read stderr when the exit code is\n  non-zero.\n- A networked audit can take minutes on a long bibliography. Use a generous timeout or run it in\n  the background. Do not cut it short and report a partial result.\n- Results are cached in `.reference_audit\u002Fcache.db` beside the input. A re-run after edits only\n  re-checks entries that changed or failed before. Use `--fresh` only when the user asks for it.\n- Useful options:\n  - `--check-citations` checks each citing sentence against the cited work's abstract (needs the\n    LLM and citing sentences).\n  - `--no-llm` gives a deterministic run.\n  - `--no-network` parses only, with no verdicts.\n  - `--fail-on hallucinated|multiple|contradiction|unresolved` exits non-zero for gating.\n  - `reference-audit audit --help` lists the rest.\n\n## 3. Read the report\n\nTop level: `entries`, `cited_but_missing` (`\\cite` keys with no entry), `uncited`, `unparsed`\n(entries the tool could not read, with the reason), `notes` (input caveats), and `summary`.\n\nPer entry (`entries[i]`), the key is `entry.key`, and `verdict` holds the outcome:\n\n| `verdict` | Meaning | What to tell the user |\n| --- | --- | --- |\n| `kind: \"none\"` | Matches no real document: a likely hallucination. | List it first, as a likely fabricated reference. |\n| `kind: \"contradiction\"` | A DOI\u002FarXiv id resolves, but the cited fields disagree with that work (`contradiction_findings`). | Show the conflicting fields and the resolved work. |\n| `kind: \"multiple\"` | Several distinct works fit. | Ask the user which one is meant. |\n| `kind: \"exactly_one\"` | Resolved to one work (`artifacts[0].best_record`). | Report its `field_findings` with status `error` or `uncertain`. |\n| `null` | The tool could not check it. `unresolved_reasons` says why. | List it as **unable to verify**, with the reasons. It is neither a pass nor a hallucination. |\n\n`issues` holds per-entry problems such as backfilled or normalized identifiers. With\n`--check-citations`, `alignment_findings[].status` is one of the following:\n\n- `supported`\n- `contradicted`: the citation may misrepresent the source. Quote `evidence_quote`.\n- `not_in_abstract`: an advisory only. An abstract is a summary.\n- `unverifiable`\n\n## 4. Report and fix\n\n- Report likely hallucinations first, then the entries the tool could not verify, then the\n  remaining issues. Give the counts from `summary`. Point to the full report file.\n- Never delete or rewrite a reference flagged `none` on your own. Show it to the user. If you wrote\n  that reference yourself, say so plainly.\n- Change a `.bib` only with values the report supplies: a backfilled DOI, a corrected field's\n  `canonical_value`, or `canonical_bibtex`. Ask before you edit, unless the user already asked for\n  fixes. Never invent a DOI, author, venue or year to make an entry pass.\n- After you edit, re-run the audit and report the new result.\n",{"name":5,"description":7},"main","7de4ce1b721a485938e7220e8b272ea263799871","kit\u002Fskills\u002Freference-audit",1,"https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Freference-audit","https:\u002F\u002Fgithub.com\u002Fconstructorfabric","https:\u002F\u002Fconstructorfabric.org","A unified fabric that automates the entire XaaS software development lifecycle  from planning to building to running services in prod","2026-10-26 14:38:28",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add constructorfabric\u002Freference-audit --skill cf-reference-audit",{"tool":39,"command":40},"bunx","bunx skills add constructorfabric\u002Freference-audit --skill cf-reference-audit",{"tool":42,"command":43},"pnpm","pnpm dlx skills add constructorfabric\u002Freference-audit --skill cf-reference-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Freference-audit\u002Fblob\u002Fmain\u002Fkit\u002Fskills\u002Freference-audit\u002FSKILL.md",true,[],[48],{"skillNo":49,"name":50,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M77Q5JR8J83TR7JZNZ7MQNTV","config","https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Freference-audit\u002Fblob\u002Fmain\u002F.cf-studio\u002Fconfig\u002FSKILL.md",[],[]]