Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/theclaymethod/artifacture/sharegit clone --depth 1 https://github.com/theclaymethod/artifactureWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01053 |
| Opus 5 | $0.00000 | $0.00526 |
| Sonnet 5 | $0.00000 | $0.00211 |
| Haiku 4.5 | $0.00000 | $0.00105 |
Grade A, and why
share scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Share Visual Explainer Page
Share a visual explainer HTML file. Uses sharehtml when team sharing is configured; otherwise falls back to the public Vercel preview path.
Source/artifact contract. Share generated HTML artifacts. If the user gives a .mdx or .tsx source file, export it first:
npm run ve:export -- <source.mdx|source.tsx> --out ~/.agent/diagrams/<slug>.html
Then share the generated .html. Do not deploy MDX/TSX source directly.
Clarify. This is a Tier 2 command per ./references/clarify.md — it operates on an existing file and has no creative choices. Do not ask questions; just deploy.
Usage
/share <file-path>
Arguments:
file-path- Path to the generated HTML file to share, or an MDX/TSX source file that should be exported before sharing (required)
Examples:
/share ~/.agent/diagrams/my-diagram.html
/share /tmp/visual-explainer-output.html
Backend Decision
| Situation | Backend |
|---|---|
VE_SHAREHTML_URL exists |
sharehtml |
~/.config/visual-explainer/share.json exists |
sharehtml |
| Neither exists | Vercel fallback |
Use sharehtml for private team review, stable update-in-place URLs, and comments. Use Vercel fallback for zero-setup public previews. Vercel can be partially gated only after the deployment is claimed into a Vercel project and Deployment Protection is enabled.
How It Works
- If
VE_SHAREHTML_URLis set, or~/.config/visual-explainer/share.jsonexists, runssharehtml deploy <file>. - In sharehtml mode, updates the same document URL in place and keeps the page private by default behind the configured access layer.
- If sharehtml is not configured, copies the HTML file to a temp directory as
index.html. - Deploys via the vercel-deploy skill and returns a public, claimable Vercel preview URL.
Requirements
- sharehtml CLI for team sharing. Install with
bun install -g sharehtmlor put your repo checkout's CLI onPATH. - sharehtml hosting for team-gated sharing. See
docs/TEAM-SHARING.md: Cloudflare account, Workers Paid plan for Durable Objects,pnpm run setup, Cloudflare Access scoped to the team email domain, optional custom domain, thenVE_SHAREHTML_URLor~/.config/visual-explainer/share.json. - vercel-deploy skill for fallback public preview sharing. If missing:
pi install npm:vercel-deploy
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 99 lines · 0 tokens per session scan A e14bce4308e6
share is a command published in the GitHub repository theclaymethod/artifacture (2 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,053 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
editor
You are my personal writing editor for MDX/Markdown content. Improve clarity, flow, grammar, and style while preserving the author's voice, meaning, and factual details. Infer the content type and appropriate tone from the context.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.