assembly-mcp: Command for Claude Code

.claude/commands/upload.md

upload is a command for Claude Code from AssemblyJustin/assembly-mcp. It costs 117 tokens per session (1,070 once invoked), scanned A, original, MIT.

A command for uploading files or images to an Assembly project. It can create a draft document issue for review or add images to the project's renders area.

In plain words
What is it for?
Use it to upload project documents as issues or add render images, with the required project, issue, user, and file information.
Why use it?
It organizes the upload workflow by collecting the project details and, for document issues, showing a plan before issuing the files.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

This is AssemblyJustin/assembly-mcp's own configuration. It tells Claude Code how to work on assembly-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything assembly-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AssemblyJustin/assembly-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AssemblyJustin/assembly-mcp/main/.claude/commands/upload.md
Clone the repo
git clone --depth 1 https://github.com/AssemblyJustin/assembly-mcp

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 upload

README.md
[![agentmods](https://agentmods.dev/badge/commands/assemblyjustin/assembly-mcp/upload/github.svg)](https://agentmods.dev/commands/assemblyjustin/assembly-mcp/upload)
Your own site
<a href="https://agentmods.dev/commands/assemblyjustin/assembly-mcp/upload"><img src="https://agentmods.dev/badge/commands/assemblyjustin/assembly-mcp/upload/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 upload

Your own site · 80×15
<a href="https://agentmods.dev/commands/assemblyjustin/assembly-mcp/upload"><img src="https://agentmods.dev/badge/commands/assemblyjustin/assembly-mcp/upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,070 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.00117 $0.01070
Opus 5.5 $0.00047 $0.00428
Sonnet 5.5 $0.00023 $0.00214
Haiku 4.5 $0.00012 $0.00107

Measured 1mo ago against content hash 3e08a60b6d96, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upload 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 1mo 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/upload.md · 66 lines

How it starts

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

upload — issues or renders

$ARGUMENTS picks the mode: issues or renders (ask if missing).

0. Who they are (asked ONCE per machine, then never again)

Call saved_login() first.

  • default is set → that's who they are. Don't ask who they are or for a password. Mention it in passing ("Uploading as [email protected]"). Only switch person if they say so: someone already in people → pass uploader_email; someone new → do the first-time step for them.
  • default is null (first time) → ask in one message for their app email and password, then save_login(email, password). It signs in to check them and saves only if that works. On "Invalid login credentials", say so and ask again. Never repeat the password back in any message, and never write it anywhere else (no notes, files, commits or memory).

After that, omit uploader_email in every call. The tools use the saved person.

1. Ask for (one short message, only what's missing)

issues renders
Project — number (e.g. 2610) or UUID ✓ ✓
Issue type — For Information / Review / Approval / Construction / Tender / Coordination / Record ✓ —
Issue name — as it should read on the Documents tab ✓ —
Files — file and/or folder paths (dropped files are fine) ✓ ✓ (images)
Render name — optional, only for a single image — optional

Default target is prod (app.assembly.nz). Use env="dev" only if they say dev/test (then save_login(..., env="dev") for a dev account).

/upload issues

  1. upload_issue(project, issue_type, issue_name, files, dry_run=True) and show the plan: project name, the matched issue type, the issue name, and the file list. Ask "Upload?".
  2. On yes: upload_issue(...) without dry_run. Report N uploaded · N failed and say it's a draft on the project's Documents tab. Keep the collectionId.
  3. Ask whether to issue it now. Issuing uses up an issue number and can't be undone. Show recipientChoices (organisation → people) and ask who it goes to (people or whole organisations; none is allowed) and for any cover notes. Confirm the issue type.
  4. On an explicit yes: issue_draft(collection_id, issue_type, recipients, cover_notes). Report the issue number (e.g. 2610.T-004). On no: leave the draft. They can issue it later from the Documents tab or by running this again.

Read the full file on GitHub · 66 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. 1mo ago Changed · +14 lines · +24 tokens per session 3e08a60b6d96
  2. 1mo ago First seen · 52 lines · 93 tokens per session scan A b7c2d2265e77

Subscribe to this mod's changes

upload is a command published in the GitHub repository AssemblyJustin/assembly-mcp (0 stars, last pushed 15d ago), licensed MIT. It adds 117 tokens to every session and 1,070 once invoked, about $0.0005 per session on Opus 5.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-10-02.

Related

upload compared with commands from other repositories

upload next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uploadAssemblyJustin/assembly-mcpCommand015d agoMITA117Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code