llm-wiki-export-publish
Skill3 starsChanged 5 months agoMITView on GitHub
Export or publish a safe subset of an LLM-Wiki as public docs, an internal handbook, a static site, llms.txt, JSONL/JSON-LD, graph export, or an archive. Use when publishing from the wiki must preserve provenance and exclude private raw sources, sensitive notes, and draft pages.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llm-wiki-adr-memorySkill
- llm-wiki-agent-memory-bridgeSkill
- llm-wiki-archiveSkill
- llm-wiki-capture-pipelineSkill
- llm-wiki-chooseSkill
- llm-wiki-claim-anchorsSkill
- llm-wiki-company-flow-auditSkill
- llm-wiki-conflict-resolverSkill
- llm-wiki-critique-auditSkill
- llm-wiki-designSkill
- llm-wiki-doctorSkill
- llm-wiki-domain-packSkill
- llm-wiki-ecosystem-registrySkill
- llm-wiki-evalSkill
- llm-wiki-eval-toolingSkill
- llm-wiki-faqSkill
- llm-wiki-github-actionSkill
- llm-wiki-gitlab-operating-modelSkill
- llm-wiki-human-first-designSkill
- llm-wiki-implementation-deep-diveSkill
- llm-wiki-ingestion-stackSkill
- llm-wiki-interviewSkill
- llm-wiki-local-first-stackSkill
- llm-wiki-mcp-integrationSkill
- llm-wiki-migration-plannerSkill
- llm-wiki-model-policySkill
- llm-wiki-news-radarSkill
- llm-wiki-obsidian-hardeningSkill
- llm-wiki-orientSkill
- llm-wiki-paf-adoptionSkill
- llm-wiki-privacy-redactorSkill
- llm-wiki-provenanceSkill
- llm-wiki-refactorSkill
- llm-wiki-repo-docsSkill
- llm-wiki-retrieval-architectSkill
- llm-wiki-security-reviewSkill
- llm-wiki-setupSkill
- llm-wiki-skill-compilerSkill
- llm-wiki-skill-doctorSkill
- llm-wiki-source-refreshSkill
- llm-wiki-team-rolloutSkill
- llm-wiki-threat-modelSkill
- llm-wiki-trust-auditSkill
- llm-wiki-zero-to-working-wikiSkill
- wiki-ingestSkill
- wiki-lintSkill
- wiki-querySkill
- wiki-triageSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 17 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Use references/docs/21-publishing-export.md as the reference architecture for export profiles, human/agent/API/graph/archive targets, …
- Very specific: line 26
Do not use this skill to author new wiki content, run ingestion, or perform redaction analysis in depth — hand those off to …
- Distinctive: line 54
Do not reuse one export profile for all audiences.
- Distinctive: line 64
Default blockers for public/agent exports:
- Distinctive: line 76
Use explicit include rules:
- Distinctive: line 85
Do not publish by blindly copying the whole wiki.
- Distinctive: line 124
read-only MCP resource manifest/profile.
- Distinctive: line 139
Every exported page should carry:
- Distinctive: line 159
Keep citations stable where possible.
- Distinctive: line 163
Every export must produce a manifest:
- Distinctive: line 199
never include private raw source text by default.
- Distinctive: line 210
Use separate search indexes for public and internal builds.
- Very specific: line 217
no draft/private/sensitive page in public profile.
- Distinctive: line 280
Do not publish private, sensitive, unknown-sensitivity, draft, rejected, stale or quarantined material by default.
- Distinctive: line 281
Do not modify source wiki links during export.
- Distinctive: line 282
Do not assume source licenses allow republication.
- Distinctive: line 283
Do not hide provenance gaps in public output.
- Very specific: line 284
Do not generate llms-full.txt from broad internal content without explicit profile approval.
- Distinctive: line 285
Do not build public search indexes from internal site output.
- Distinctive: line 286
Do not expose proposal-write or admin MCP/API tools through public exports.
- Distinctive: line 287
Do not archive only rendered HTML if source manifests and checksums are needed for reproducibility.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LLM-Wiki Export Publish
Goal
Turn private or internal LLM-Wiki content into safe, scoped, versioned and provenance-preserving outputs for humans, agents, APIs, graphs or archives.
Use references/docs/21-publishing-export.md as the reference architecture for export profiles, human/agent/API/graph/archive targets, redaction, manifests, CI gates, release workflows and rollout.
When to use
- A wiki maintainer wants to publish a public docs site, internal handbook, or agent-readable
llms.txt/JSONL bundle from private wiki content. - A release needs a redacted, provenance-preserving export that excludes draft, private, sensitive or unreviewed pages.
- A team needs a graph export (GraphML, JSON-LD, Cytoscape) or an archive bundle for long-term preservation.
- CI needs export-profile validation, redaction scanning, or manifest/checksum generation before a release gate.
- Do not use this skill to author new wiki content, run ingestion, or perform redaction analysis in depth — hand those off to
llm-wiki-ingest,llm-wiki-privacy-redactororllm-wiki-security-review.
Inputs
- Source wiki path.
- Target audience: private reviewers, internal users, public users, agents, API clients, graph tools or archive consumers.
- Target format: Markdown bundle, static site, handbook, PDF, release notes, newsletter,
llms.txt,llms-full.txt, JSONL, JSON-LD, GraphML, OpenAPI, MCP manifest, archive bundle. - Audience and privacy boundary.
- Publish destination if known.
- Export profile, allowlist, tags, folders or review states if available.
- Redaction policy and review requirements.
Procedure
1. Define export profile
Choose one or more profiles:
| Profile | Audience | Typical output | Default policy |
private-review | maintainers/reviewers | review bundle, diff report, unresolved claims | may include drafts, never public |
internal-site | team/company | static site, internal search, Markdown bundle | reviewed/approved internal pages only |
public-site | public users | curated static docs, sitemap, Pagefind/search index | explicit allowlist and redaction required |
agent-bundle | LLM/agent consumers | llms.txt, per-page Markdown/TXT, JSONL, manifest | concise, cited, machine-friendly, no private raw content |
api-export | product/integration clients | OpenAPI, read-only MCP resource profile, JSON endpoints | separate public/internal contracts |
graph-export | graph tools/visualization | JSON-LD, GraphML, Mermaid, GraphViz, Cytoscape JSON | edge provenance and sensitivity filters |
archive | long-term preservation | tar/zip, checksums, release asset, WARC where applicable | immutable, versioned, access-controlled |
Do not reuse one export profile for all audiences.
2. Define publish boundary
Classify pages as:
public | internal | private | raw-only | draft | reviewed | verified | published | rejected | quarantined | excludeDefault blockers for public/agent exports:
sensitivityissensitive,regulatedorunknown;review_stateisdraft,rejected,staleorquarantined;publication_stateisprivateorarchived;- page lacks required citations or claim-support labels;
- page depends on raw private sources;
- page contains unresolved redaction findings;
- page has broken links/citations that would be material in the export.
3. Select pages
Use explicit include rules:
- allowlisted paths;
- allowlisted tags;
- publish frontmatter;
- reviewed/verified/published states;
- specific wiki spaces;
- release profile.
Do not publish by blindly copying the whole wiki.
4. Redact and normalize
Check for:
- private links and internal-only URLs;
- private user or customer details;
- credentials or secret-like strings;
- raw source excerpts with license restrictions;
- comments, hidden metadata and source maps;
- unreviewed generated claims;
- unsupported claims;
- broken wikilinks after export;
- search-index leakage.
Hand off to llm-wiki-privacy-redactor for redaction-heavy exports and to llm-wiki-security-review for public or agent-readable releases.
5. Choose output targets
Human outputs:
- MkDocs Material;
- Docusaurus;
- VitePress;
- Quartz;
- Astro/Starlight;
- static Markdown bundle;
- PDF/handbook/newsletter when specifically requested.
Agent/API outputs:
llms.txt;llms-full.txtonly when explicitly allowed;- per-page
.md/.txt; pages.jsonl;manifest.json/manifest.yaml;- JSON-LD;
- OpenAPI;
- read-only MCP resource manifest/profile.
Graph/archive outputs:
- GraphML;
- Mermaid;
- GraphViz DOT;
- Cytoscape JSON;
- RDF/Turtle;
- tar/zip archive;
- checksums;
- WARC for web-capture preservation when applicable.
6. Preserve provenance and citations
Every exported page should carry:
id: ""
title: ""
source_path: "wiki/..."
export_url: ""
review_state: approved|published|verified
publication_state: public|internal
sensitivity: public|internal
updated_at: "YYYY-MM-DD"
source_citations: []
claim_support:
supported: 0
unsupported: 0
conflicting: 0
checksums:
markdown_sha256: ""Keep citations stable where possible. If paths are rewritten, generate a citation mapping report.
7. Generate export manifest
Every export must produce a manifest:
export_id: ""
profile_id: ""
created_at: "YYYY-MM-DDTHH:MM:SSZ"
created_by: human|agent|ci
wiki_revision: ""
source_revision: ""
policy_revision: ""
profile_revision: ""
outputs: []
counts:
pages_included: 0
pages_excluded: 0
citations_checked: 0
links_checked: 0
redactions_applied: 0
reports:
redaction: ""
citation: ""
broken_links: ""
search_index: ""
status: draft|passed|failed|published|archived8. Build llms.txt and agent bundle safely
Recommended rules:
- make
llms.txtconcise; - link to stable per-page Markdown/TXT;
- include export scope and generation date;
- include only reviewed and approved pages for the selected profile;
- preserve citations per page;
- generate
llms-full.txtonly when the export profile explicitly permits it; - never include private raw source text by default;
- include a machine-readable manifest with hashes and page metadata.
9. Build static search safely
Recommended order:
filter pages -> redact -> build site -> build Pagefind/static search index -> inspect index report -> publishUse separate search indexes for public and internal builds. Never reuse an internal index in a public site.
10. Add CI and release gates
PR-time gates:
- export profile schema valid;
- no draft/private/sensitive page in public profile;
- links and citations resolve;
- redaction scan passes;
llms.txtgenerated and scoped correctly;- export manifest and checksums generated.
Release gates:
- owner approval;
- security review for public/agent bundle;
- comparison against previous export manifest;
- changelog generated;
- rollback artifact retained;
- release tag or artifact published.
11. Publish or archive
Possible destinations:
- GitHub Pages;
- internal static hosting;
- release artifacts;
- artifact registry/object storage;
- docs platform;
- repo branch such as
gh-pages; - offline bundle.
Record publication URL, release tag, checksum and rollback artifact in the export manifest.
Output
## Publish/export recommendation
## Export profile
## Included pages
## Excluded pages and reasons
## Redactions needed
## Output targets
## Provenance and citation strategy
## Static site/search plan
## Agent-readable bundle plan
## Graph/API/archive plan
## Export manifest and checksums
## CI/release gates
## Publication checklist
## Follow-up skillsSafety gates
- Do not publish private, sensitive, unknown-sensitivity, draft, rejected, stale or quarantined material by default.
- Do not modify source wiki links during export; transform only the exported copy.
- Do not assume source licenses allow republication.
- Do not hide provenance gaps in public output.
- Do not generate
llms-full.txtfrom broad internal content without explicit profile approval. - Do not build public search indexes from internal site output.
- Do not expose proposal-write or admin MCP/API tools through public exports.
- Do not archive only rendered HTML if source manifests and checksums are needed for reproducibility.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

