Skill for Claude Code, Grok, Codex, and friends: design a page and publish it to byagent.dev.
The deliverable is always the published URL, https://byagent.dev/a/<id>/. The agent publishes finished pages on its own and hands back the link. Internal work goes out as --private.
Any agent, via skills.sh:
npx skills add anup-a/agent-artifactsBy hand: copy skills/byagent/ into your agent's skills folder, for example ~/.claude/skills/byagent or ~/.grok/skills/byagent.
Then /byagent, or just write a report. The skill fires on its own.
The CLI is the npm package byagent. (npx artifacts is someone else's package.)
npm install -g byagent
byagent login --browser # approve in the dashboard; no key in the chat
byagent publish ./notes.md --project "Personal" --tag notes --jsonConnect an agent: https://app.byagent.dev/app/connect · Keys for CI: https://app.byagent.dev/app/keys
Agents forget to publish. A PostToolUse hook reminds them:
byagent hooks install claude # ~/.claude/settings.json
byagent hooks install codex # ~/.codex/hooks.json, then trust it in /hooksWhen the agent writes a .html or .md page, the hook adds one line to its context suggesting byagent publish, or a republish if that directory is already published. It never publishes on its own. Each file gets one nudge per session, five per session at most, and code trees, repo docs and agent config are skipped. BYAGENT_NUDGE=0 silences it; byagent hooks uninstall claude removes it.