/cea-skill:sitefrom cea-skill
Build a static site from a set of Claim-Evidence Alignment (CEA) records, one directory per paper: a page per paper, an index listing every paper with its counts, and the framework text that the pages' terms come from. Use this skill when someone wants to publish, deploy, or preview the claim records of several papers together, add a paper to such a site, or rebuild it after a record changed. It renders records that the extract-claims skill has already produced and checked; it does not read a PDF or select any claim. A record that still leaves a decision open stops the build.
Ships in cea-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill publishes the records that extract-claims writes. One directory per paper holds
claims.json, claims.md, text.txt, and the PDF unless the paper goes up by its DOI alone, and the build turns each one into a page and
lists them on an index. The pages are generated, never hand-edited: the record is the source, and
changing what a page says means changing the record or the skill that renders it.
reason, or whose selection_reason on a claim, uses the word "unsure" leaves
open whether the statement is a claim, wherever the word stands. Every
record is checked before anything is written, so one such record stops the whole site. Report it
and let the checker settle it in claims.json. Do not edit the reason yourself to get the build
through.cea_claims.py validate is not published. Run the validator first.The scripts are in scripts/ at the root of the plugin, beside the skills/ directory that holds this skill, shared with
extract-claims.
python3 <plugin root>/scripts/cea_claims.py validate <paper directory>
python3 <plugin root>/scripts/cea_claims.py render <paper directory>
python3 <plugin root>/scripts/cea_claims.py site <paper directory> [<paper directory> ...] \
--out <site directory>
Run validate for each paper first. The build runs it too and refuses the record, but it prints
only the first three problems per paper, while validate prints them all.
site writes:
| Path | What it holds |
|---|---|
<site>/index.html | every paper, with its counts and a link to its page |
<site>/papers/<paper_id>/index.html | the paper's page |
<site>/papers/<paper_id>/claims.json, claims.md | the record the page was built from, beside it |
<site>/papers/<paper_id>/text.txt and the PDF | the paper, where its record directory holds the PDF |
<site>/framework/index.html | the framework text, always |
The record sits beside its page so that the page's links to it work wherever the folder is served, and so that a zip of one paper's folder is complete on its own.
A paper whose publisher keeps the right to redistribute it, as a copyright notice on its first page
usually says, goes up without its PDF: leave the file out of the record's directory, and out of the
repository that holds the records, and give the record a paper.doi. The page then links the DOI.
site publishes text.txt only beside the PDF, because the text is the whole paper, and a
rebuild into the same directory removes the PDF and the text that an earlier build published.
A successful build prints CEA_SITE, preceded by a CEA_WARNING line for each validator warning
of each record, for each paper whose PDF is missing and whose record gives no DOI, for a PDF
published under a name other than the one the record gives, for each main result that no claim serves, and for each paper directory left in the
output by an earlier build that this one no longer lists. A record that fails the checks prints CEA_INVALID or CEA_UNRESOLVED, then CEA_FAILED.
Nothing is written unless every record holds the fields the pages need, passes validate, and
leaves no decision open. The build runs validate itself, so a record whose quote is not on its
page stops it. Each record therefore needs its text.txt beside its claims.json.
The pages use the framework's terms: main result, claim, excluded claim candidate, checker, and
mapping level. Every claim card carries an L1 badge over six dots, so
the document has to define the mapping levels and name the six links of the chain the badge shows:
interpretation, operationalization, measurement, unit bridge, analysis, and reasoning. site always publishes the framework as a page and links it from every footer, so a reader has
the definitions at hand. It publishes the plugin's own
skills/extract-claims/references/framework.md, which is the framework the records are built
against and holds every term the pages use, and there is nothing to pass: a document handed in
could be the wrong one or a stale copy, and a site built without one showed every claim's mapping
level with no page anywhere defining it. The framework and the selection rules are one document
for the same reason: a second, shorter account of the rules is the thing most likely to
contradict them.
A site directory is static, so any host serves it. Where the records live in a repository that
deploys to GitHub Pages, keep the skill pinned: the repository names a tag of this plugin, its
workflow checks that tag out and runs the commands above, and a change to the page design reaches
the site only when that tag moves. se-uhd/cea-website is that arrangement, and its CLAUDE.md
states the contract.
Report to the user: where the site is, how many papers it holds, which records stopped the build, and any paper whose page says that no claim serves one of its main results, because that is a finding a reader should not have to search for.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
npx claudepluginhub se-uhd/cea-skill --plugin cea-skill