From ardent
Upload HTML docs to the team's GitHub Pages archive for permanent browsing and sharing. Use when the user says "archive this", "upload to archive", or /archive.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ardent:archiveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Upload an HTML document to the `ardent-ai/docs-archive` GitHub Pages site. Produces a permanent, shareable URL.
Upload an HTML document to the ardent-ai/docs-archive GitHub Pages site. Produces a permanent, shareable URL.
<context_hint> #$ARGUMENTS </context_hint>
If the user provided a path as an argument, use that file.
Otherwise, find the most recently modified .html file in ~/.agent/diagrams/:
ls -t ~/.agent/diagrams/*.html 2>/dev/null | head -1
If no HTML files exist, ask the user for a path.
Show the user which file you'll archive and confirm before proceeding.
Ask the user for the following (infer defaults from the filename or HTML <title>):
git config user.name or whoami)Keep this lightweight — one question with sensible defaults, not a form interrogation.
The archive repo lives at ~/ardent/docs-archive/. Sync it:
if [ -d ~/ardent/docs-archive/.git ]; then
cd ~/ardent/docs-archive && git pull --ff-only
else
git clone [email protected]:ardent-ai/docs-archive.git ~/ardent/docs-archive
fi
Derive the filename:
YYYY-MM-DDdocs/{date}-{slug}.htmlCopy the HTML file:
cp /path/to/source.html ~/ardent/docs-archive/docs/{date}-{slug}.html
Read manifest.json, append the new entry, write it back. The entry shape:
{
"id": "{date}-{slug}",
"title": "...",
"description": "...",
"author": "...",
"date": "YYYY-MM-DD",
"filename": "docs/{date}-{slug}.html",
"links": {
"pr": "https://... or omit",
"linear": "https://... or omit"
}
}
Omit links (or individual keys within it) if no URLs were provided. Omit description if empty.
cd ~/ardent/docs-archive
git add docs/{date}-{slug}.html manifest.json
git commit -m "archive: {title}"
git push
Output the GitHub Pages URL:
Archived: https://ardent-ai.github.io/docs-archive/docs/{date}-{slug}.html
Browse all: https://ardent-ai.github.io/docs-archive/
npx claudepluginhub ardent-ai/ardent-claude-plugins --plugin ardentDeploys a single HTML file to FluidDocs hosting. Handles browser sign-in and opens the live URL. Triggered by words like 'deploy', 'publish', 'ship it'.
Provides a skill file (archive.md) that can be loaded into Claude Code to define archival instructions and context.