setup

A one-time repository setup command that records how the project handles issues, triage labels, and domain documentation.

In plain words
What is it for?
Configuring GitHub, Jira, or local Markdown tracking and writing the related files under docs/agents/.
Why use it?
It gives other tracker-aware commands the information they need to know where issues live and which project rules to read.

Command

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.

agentmods
npx agentmods add commands/higoralves/orc/setup
Clone the repo
git clone --depth 1 https://github.com/HigorAlves/orc
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,019 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00050 $0.02019
Opus 5 $0.00025 $0.01009
Sonnet 5 $0.00010 $0.00404
Haiku 4.5 $0.00005 $0.00202

Measured 2d ago against content hash b76bf4705cfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup 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 2d 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.

orc/commands/setup.md · 120 lines

How it starts

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

/orc:setup

Scaffold the per-repo configuration that orc's tracker-aware surfaces assume:

  • Issue tracker — where issues live and how to create/query them → docs/agents/issue-tracker.md
  • Triage labels — the label vocabulary for the triage state machine → docs/agents/triage-labels.md
  • Domain docs — where CONTEXT.md and ADRs live, and the consumer rules for reading them (per orc:domain-modeling) → docs/agents/domain.md

These files are read by orc:to-issues, orc:to-prd, /orc:triage, /orc:wayfinder, and the Jira adapters (orc:jira-cli, orc:evidence-publish) — the tracker choice recorded here decides whether they call gh, acli, or write local markdown.

This is a prompt-driven interview, not a deterministic script: explore, present what you found, confirm, then write. Run once per repo. Re-run only to switch trackers or restart from scratch — day-to-day edits go straight into docs/agents/*.md.

Arguments

  • --tracker github|jira|local — pre-answer Section A; the interview skips the tracker question and only confirms details (project key for Jira, directory for local).

Workflow

Phase 1 — Explore (auto-settle)

Look before asking. Every fact settled here removes a question from Phase 2:

  • git remote -v — GitHub remote? Which repo? gh repo view --json nameWithOwner,hasIssuesEnabled and gh auth status confirm the gh path works.
  • command -v acli + acli jira auth status — is the Jira CLI installed and authenticated? Only offer Jira as a recommended answer when it is.
  • gh label list — existing label vocabulary. If labels matching the five canonical triage roles (or close variants like bug:triage) already exist, capture them as the proposed mapping instead of proposing new labels.
  • docs/agents/ — prior output of this command? If issue-tracker.md exists, this is an update run: show the current choice and ask whether to keep, tweak, or restart.
  • CLAUDE.md / AGENTS.md at the repo root — which exists, and does either already have an ## Agent skills section?
  • CONTEXT.md, CONTEXT-MAP.md, docs/adr/ — existing domain-doc layout.
  • Monorepo signals — pnpm-workspace.yaml, a workspaces field, turbo.json, populated packages/* with their own src/. Absence means single-context, which is almost every repo.

Read the full file on GitHub · 120 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. 2d ago First seen · 120 lines · 50 tokens per session scan A b76bf4705cfd

Subscribe to this mod's changes

setup is a command published in the GitHub repository HigorAlves/orc (6 stars, last pushed 5d ago), licensed MIT. It adds 50 tokens to every session and 2,019 once invoked, about $0.0003 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.