accept
無料Accept HQ membership invites from a magic link or raw token.
日本語の概要は準備中です。原文の説明を表示しています。
Provision or repair a hosted HQ agent end to end, from identity to a verified capability probe. Routes local and external bots to their own flows.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Ask where the agent should run before anything paid happens. Reference:
core/knowledge/public/hq-core/agents-and-bots.md.
| The user wants | Route |
|---|---|
| A bot on their own computer, using their own Claude/Codex/Grok login | Local bot: hq bot create <name> (personal, acts as them) or hq bot create <name> --kind company --company <slug>. No hosted box. Stop here; this skill's layers do not apply |
| An agent they already run elsewhere (OpenClaw, grokbot, Muse, any MCP-capable agent) | External bot: console Bots page → Add bot → External bot → Create and get code, then on its host hq agent enroll <code>, hq agent kit install, register hq agent mcp, hq agent probe. See core/knowledge/public/hq-core/external-agents-mcp.md. Paid plans only; no per-agent charge |
| Their own Claude/ChatGPT/Codex/Grok chat app reading HQ | Console Integrations → Connect an agent. Not an agent identity |
| An always-on company agent hosted by HQ | This skill (create mode) |
| An existing agent that is blocked on access | This skill (repair mode) |
Take an agent from "exists somewhere" to "fully capable for a defined job" in one flow. The failure mode this skill kills: an agent is invited to a company, everyone assumes it can work, and days later it posts "I'm blocked on access, not analysis" because nobody mounted its credentials, joined its vault, or registered its MCPs.
Provisioning is not done when grants are issued. It is done when the agent confirms, from its own runtime, that every capability mounts.
Billing gate (paid resource). A hosted agent is a recurring charge on the company's payer. The price is company-specific and depends on the size (
basic,power,dev); seecore/knowledge/public/hq-core/plans-and-pricing.md, but always quote the number the CLI prints, not a remembered one. Get the operator's explicit approval of that charge and never provision silently.hq agents provisionenforces this: without--yesit prints the quote and stops. If the plan does not allow another agent, the server answersAGENT_PLAN_LIMITand the CLI prints a checkout URL and exits with status 3 (payment required, distinct from an ordinary failure; it never opens a browser under--jsonor without a TTY). If billing itself is blocked (402), it prints a payment link and exits 1. Hand either link to whoever owns billing, wait until it is completed, then re-run. Do not try to work around the gate. This applies only to create mode — repairing an existing agent's access grants nothing paid and needs no approval.
Usage:
/new-agent # interview from scratch
/new-agent {agent-name} # provision or repair a specific agent
/new-agent {agent-name} {co} # skip company resolution
An agent needs five layers, granted in order. A miss at any layer makes every layer above it silently useless:
| Layer | What it is | Granted by | Verified by |
|---|---|---|---|
| 1. Identity | Cognito principal + agent email (agt-<ulid>@agents.{your-domain}.ai) | hq agents provision (paid — billing-gated) / hq members invite | hq whoami on the agent runtime |
| 2. Membership | Row in the company's member list | hq members invite + /accept on the agent runtime | hq members list --company {co} |
| 3. Company vault | Company directory synced into the agent's HQ | company is cloud-backed (/designate-team) + hq sync pull --company {co} on the agent runtime | agent sees companies/{co}/ locally |
| 4. Secrets & files | Read grants on vault secrets + file ACLs | hq secrets share, hq files | hq secrets list --company {co} on the agent runtime |
| 5. Runtime config | MCP servers, Slack tokens, model creds registered in the agent's own .mcp.json/settings | paste-ready bootstrap block (this skill generates it) | agent runs its probe checklist |
Layers 1–2 and 4 are grantable from the operator's HQ. Layers 3 and 5 require action on the agent's runtime — this skill cannot do them remotely; it produces the exact bootstrap block and verifies via probe instead.
hq members list --company {co} for
each candidate company (or the given one). Agent members have agt_-prefixed
ids in the EMAIL column.hq agents provision {name} --company {co} [--model <model>] [--size basic|power|dev].
Every new managed agent is an agents-v2 box with a Codex, Grok, or Claude
brain (pick the model from hq agents models). Omit --provider: with
--model the CLI sends agents-v2, and with neither the server defaults
to agents-v2. The CLI still accepts --provider codex|grok|claude for
script compatibility, but the server rejects them for new agents with
LEGACY_MANAGED_PROVIDER_RETIRED. Claude brains need the account enabled
for Claude. See §Agents v2 branch for the setup steps and the human gates.
The command prints the quote and requires --yes; approve it with the
operator first. Exit status 3 means payment is required: pass on the
checkout URL it printed (see the billing gate above). (If an agent email
was already issued out-of-band, you can invite it directly with
hq members invite instead.)companies/manifest.yaml and be
cloud-backed (cloud_uid present). If it is not cloud-backed, stop and route
to /designate-team first. Without a cloud entity, there is no company vault
directory for hq sync pull --company {co} to sync.Ask (batched, one AskUserQuestion call, skip anything already known):
Map the job to concrete grants. For each data source, prefer what already
exists in the company vault (hq secrets list --company {co}) over minting new
credentials. Build a table:
| Capability | Vault key / path | Status |
|------------------------|---------------------------------|---------|
| Prod read-only DB | DATABASE_RO_URL | grant |
| Stripe (read) | STRIPE_API_KEY (rk_) | grant |
| Rate tables | companies/{co}/knowledge/... | vault |
| Monthly revenue target | (mission brief) | brief |
| Accounting system | (not in vault) | blocked |
Rules while building the manifest:
--permission read, never
write/admin, unless the job explicitly requires mutation.hq secrets exec --company {co} --only KEY -- sh -c 'printf %s "$KEY" | cut -c1-3'
— rk_ is restricted, sk_ is a full secret key. Never hand an sk_ key to
a read-only agent without flagging it to the user first.Membership (if not already a member):
hq members invite <agent-email> --company {slug} --role member --no-send-email
Surface any claim link per core/policies/hq-secure-link-render-as-markdown.md
— markdown inline link only, token never in the visible label.
Secrets — share each manifest key:
hq secrets share KEY --company {slug} \
--with agt-<ulid-lowercase>@agents.{your-domain}.ai --permission read
Hard-won syntax rules (each of these failed in the field):
agt-<ulid-lowercase>@agents.{your-domain}.ai.
The raw agt_<ULID> shown in hq members list is rejected with
"Invalid principal".--permission is required (read | write | admin).hq secrets share needs the FULL key path (SHOPIFY/CLIENT_ID, not SHOPIFY).File ACLs — for knowledge paths the agent needs (rate tables, policies,
benchmarks), grant via /hq-files (or hq files) rather than pasting content
into chat.
Layers 3 and 5 happen on the agent's runtime. Emit one copy-paste block, addressed to whoever operates that runtime (often the agent itself via DM):
# --- HQ agent bootstrap: {agent} @ {co} ---
hq login # or hq auth status if already authenticated
# /accept <token> # only if membership is still pending
hq sync pull --company {co} # pulls the permitted company vault files
hq secrets list --company {co} # must show the granted keys
# Mount secrets per-invocation — never export or paste values:
# hq secrets exec --company {co} --only KEY1,KEY2 -- <command>
If the job needs MCP servers, append a config template that sources
credentials through hq secrets exec / hq run wrappers. Never inline a
secret value in an MCP config block. Respect
core/policies/hq-shared-user-global-config-safe-write-core.md when the block
edits shared user-global config files.
Create companies/{co}/knowledge/agents/{agent-name}-brief.md and push it with
hq sync push <path> --company {co}.
Path matters: the sync engine only ships known company subdirs (
knowledge/,projects/,policies/, …). A file under an unrecognized top-level dir likecompanies/{co}/agents/is EXCLUDED by a built-in ignore rule and silently never reaches the vault — the push output says "Pushed 0 file(s)". Always check the push output line for the ✓ before assuming the brief shipped.
The brief contains:
The brief syncs to the agent on its next hq sync pull --company {co}. It is the
durable answer to "what am I supposed to do and with what," beyond chat history.
DM the agent (via hq dm or its Slack channel) the bootstrap block plus a
probe checklist:
hq whoami → correct identityhq sync pull --company {co} and confirm companies/{co}/ is presenthq secrets list --company {co} → every granted key visibleSELECT 1 through the RO URL, a
Stripe balance read) via hq secrets execDo not report the agent as provisioned until it confirms the probe. Grants that succeed on the operator side routinely still leave the agent blocked (vault not joined, runtime not logged in, MCP unregistered). If the probe fails, the agent's error output tells you which layer to repair — match it to the table in §Mental Model.
Agent: {name} ({agent-email})
Company: {co}
Granted: {n} secrets (read), {m} file paths, membership {status}
Briefed: companies/{co}/agents/{name}/brief.md
Pending: bootstrap on agent runtime (sent via {channel})
Blocked: {list, each with an owner — or "none"}
Done when: agent confirms probe checklist in {channel}.
Every new managed agent runs the pinned v2 runtime — a full HQ citizen with
hook enforcement, policy injection, HQ memory, the HQ DM adapter, and Slack. It
is available to every cloud-backed company; there is no allowlist. The brain is
chosen by --model (a Codex, Grok, or Claude model).
Provision (billing-gated, as in §1 create mode):
hq agents provision {name} --company {co} --model <model> --yes
hq agents provision has no role flag. For an admin agent, promote it
afterwards: hq members promote agt-<ulid-lowercase>@agents.{your-domain}.ai admin --company {co}.
Watch setup with hq agents status {name} --company {co} --json. The
plain output is raw JSON on single lines, so read setupState.steps. Steps
run in order: identity → membership → vault → runtime → codex-auth → sync →
channels → audit → runtime-install. Two of them wait on a human:
.pairing (and in the step's lastError). Hand them to
the person who owns the brain account; nobody else can complete it./companies/{co}/agents/{agentUid}/slack-setup opens Slack's
create-app screen with the full-scope manifest pre-filled (Socket
Mode on, token rotation off), or shows the manifest to copy. The
customer creates the app, installs it to the workspace (a Slack admin
may need to approve), generates an app-level token with
connections:write, copies the xoxb- Bot User OAuth Token, and
pastes both tokens on that page. HQ validates the scopes and Socket
Mode before storing anything; a rotating token (xoxe.xoxb-) is
rejected until rotation is turned off.FACTORY_ROOT_MISSING means an owner or
admin must connect the company's Slack workspace once from the console
Bots page. After that, hq agents status shows a slack-install
action (someone in the workspace clicks Install) and possibly a
slack-app-token action (generate a connections:write app-level
token at the app's Basic Information page and paste it on the console).
Never paste a token into chat. To reuse an existing Slack app from the
CLI, pass --slack-tokens-stdin (bot token line, then app token line;
agents-v2 needs both).Surface each gate to the user as soon as it appears. The owner is also
emailed if a gate is still open 45 minutes after the previous step finished.
hq agents retry does not clear a human gate.
runtime-install is automatic. The final step delivers and activates the
v2 runtime over SSM, so phase: ready means the box is on v2. It can be
switched off per stage (/indigo/hq-pro/{stage}/agents-v2-auto-install set
to off); then the step waits with "Agents v2 installation is disabled for
this stage" and the agent stays pending until it is switched back on. If the
step fails, hq agents retry {agentUid} resumes setup from it. The operator
script scripts/agents/install-agents-v2-runtime.ts (hq-pro-agents) is an
indigo-only manual tool, not part of normal provisioning.
v2 probe checklist — the done gate for a v2 box, on top of §7. From
hq agents status --json:
done and setupState.phase ready;runtime.lastHeartbeat.runtimeFacts.runtimeMode is agents-v2 and
runtimeFacts.agentsV2.unitActive is true;runtimeFacts.hqFleet.platforms.slack and .hqdm are connected.Then a live round-trip: hq agents message {name} "<probe question>" --company {co}
and confirm it answers with its identity, companies/{co}/ present, and
runtime mode agents-v2.
Do not report a v2 agent as provisioned until both the status checks and the live round-trip pass.
--permission read unless the job requires writes; flag any
full-scope payment key before sharing it.hq secrets exec wrappers only./designate-team; do not grant
into a vault that cannot sync.hq group-grants with explicit user sign-off./new-hire — the human-teammate equivalent of this flow/designate-team — make a company cloud-backed (prerequisite for layer 3)/accept — how the agent's runtime claims a pending membership/hq-secrets, /hq-files — the underlying grant primitives/delegate — hand an existing project to a provisioned agent (or person): verified access, branch + secrets handover, ownership transfer, and a self-sufficient pickup DMscripts/agents/install-agents-v2-runtime.ts (hq-pro-agents) — indigo-only manual tool for the v2 runtime; normal provisioning installs it automatically (§Agents v2 branch)core/knowledge/public/hq-core/agents-and-bots.md — every agent kind, CLI surface, Slack paths, Open Fleet trust modelcore/knowledge/public/hq-core/external-agents-mcp.md — external bots and MCP connectorshq bot create — local bots (no hosted box)まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Accept HQ membership invites from a magic link or raw token.
日本語の概要は準備中です。原文の説明を表示しています。
Capture qualifying architecture decisions as ADRs in the right HQ or repo location.
日本語の概要は準備中です。原文の説明を表示しています。
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
日本語の概要は準備中です。原文の説明を表示しています。
Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.
日本語の概要は準備中です。原文の説明を表示しています。
Generate dark ASCII banner graphics for HQ and social launch assets.
日本語の概要は準備中です。原文の説明を表示しています。
Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.
日本語の概要は準備中です。原文の説明を表示しています。