justone-publish

justone-publish is a command for Claude Code from GodsB1025/justone. It costs 22 tokens per session (768 once invoked), scanned A, original, MIT.

A command for publishing a finished JustOne project, a project built from a single prompt, to GitHub and the JustOne gallery.

In plain words
What is it for?
Use it after completing a JustOne build to initialize Git, create a public GitHub repository, push the files, and register the project.
Why use it?
It packages the project, checks its required manifest, and handles the repository setup needed for public publishing.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: reads .claude/ paths.

Good fit Use it after completing a JustOne build to initialize Git, create a public GitHub repository, push the files, and register the project.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/godsb1025/justone/justone-publish
Install

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.

Clone the repo
git clone --depth 1 https://github.com/GodsB1025/justone

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for justone-publish

README.md
[![agentmods](https://agentmods.dev/badge/commands/godsb1025/justone/justone-publish/github.svg)](https://agentmods.dev/commands/godsb1025/justone/justone-publish)
Your own site
<a href="https://agentmods.dev/commands/godsb1025/justone/justone-publish"><img src="https://agentmods.dev/badge/commands/godsb1025/justone/justone-publish/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for justone-publish

Your own site · 80×15
<a href="https://agentmods.dev/commands/godsb1025/justone/justone-publish"><img src="https://agentmods.dev/badge/commands/godsb1025/justone/justone-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00768
Opus 5 $0.00011 $0.00384
Sonnet 5 $0.00004 $0.00154
Haiku 4.5 $0.00002 $0.00077

Measured 9d ago against content hash 942161818542, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

justone-publish 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 9d ago.

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.

claude/commands/justone-publish.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

The user has invoked /justone-publish. This pushes their just-built project to GitHub and registers it on the JustOne gallery.

Required steps, in order

  1. Load the contract. Read ~/.claude/skills/justone/SKILL.md if you haven't already this session.
  2. Pre-flight + manifest check. Run:
    node ~/.claude/skills/justone/scripts/verify-environment.mjs --check-manifest
    
    Stop on any failure and report the cause to the user (e.g. missing manifest, missing gh auth, missing token).
  3. Write a sane .gitignore if one doesn't exist. Cover: node_modules, dist, .next, .vercel, .env, .env.*, *.log, .DS_Store, Thumbs.db, secrets like *.pem, *.key, id_rsa*.
  4. Initialize git + create the public repo + push. Pick a slug-friendly repo name based on manifest.title (e.g. justone-alarm-app). If that name already exists on the user's GitHub, append a short random suffix.
    git init -q
    git add .
    git commit -q -m "Create with /justone"
    gh repo create <repo-name> --public --source=. --push
    
    If gh repo create fails for name collision, retry with a -xxxx suffix.
  5. (Optional) Generate justone/thumbnail.png. For v0.1 this is best-effort — if the project is web and trivial to start, you may run npm install && npm run dev briefly and use Playwright to screenshot localhost:<port>. Otherwise skip and the gallery will use a manifest-based card. Don't block publish on this.
  6. Update the manifest if a thumbnail was generated. Set thumbnailPath or screenshotPath accordingly, then git add + git commit -m "Add thumbnail" + git push.
  7. Upload to the gallery. Run:
    node ~/.claude/skills/justone/scripts/upload-submission.mjs
    
    This reads ~/.justone/credentials (the jo_pat_* token) and POSTs to the gallery. If the response is 200/201 with a gallery URL, you're done.
  8. Report the result to the user. Show the gallery URL prominently:

    ✓ Published. View at: https://justone-app.vercel.app/s/your-slug

Read the full file on GitHub · 47 lines

Changes

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.

  1. 9d ago First seen · 47 lines · 22 tokens per session scan A 942161818542

Subscribe to this mod's changes

justone-publish is a command published in the GitHub repository GodsB1025/justone (2 stars, last pushed 3mo ago), licensed MIT. It adds 22 tokens to every session and 768 once invoked, about $0.0001 per session on Opus 5. 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.