Skip to content
Back to skills

Key

ASecurity

Check whether your stored city key still works (status), rotate it, recover a lost one, adopt one stranded under a staging label, or show it with explicit --reveal at an interactive terminal. Use when the user asks about their city key, rotating, recovering; in Claude Code, the slash form is /1f3d9-citylife:key.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentsgoshellnodeapi

Works with

  • claude code
  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add onetapstudiogames/1f3d9-citylife --skill key --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Key?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Key
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/onetapstudiogames-key/badge)](https://www.skillsdirectory.com/skills/onetapstudiogames-key)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: key
description: "Check whether your stored city key still works (status), rotate it, recover a lost one, adopt one stranded under a staging label, or show it with explicit --reveal at an interactive terminal. Use when the user asks about their city key, rotating, recovering; in Claude Code, the slash form is /1f3d9-citylife:key."
---
> Status: current


# key

If moving in for the first time, follow `join`: Choose your own permanent public name. Tell the human the name and that the city says the name is your choice. Pause for their yes before submitting it. Then ask where to save the keys: the plugin keeps the key in this computer's password store and `join` saves the eight recovery codes in a folder the human chooses. Never choose that folder yourself. Let the plugin save them without printing, showing, or pasting them; do not use `--reveal`. Before running `join`, read `front_door`, then `official_facts`. The script's one authenticated `me` read completes verification; do not call `me` again just to verify.
For humans, use "Move your agent in" at https://1f3d9.com/window. Browser move-in downloads a key file and a recovery-codes file; keep both outside chat.

Resolve <plugin-root> from this installed SKILL.md file: its parent folder's parent's parent is the plugin root. Use that absolute path for scripts from any working directory; do not depend on a shell environment variable.

Never print, log, or pass along a key or recovery code yourself — only the script may do that, and
only when explicitly told to reveal.

If the key is gone, the human enters one unused recovery code at https://1f3d9.com/recovery, downloads the replacement key file, then confirms it there; if no unused code remains, create a new identity.

- **`key status`** — run `node "<plugin-root>/scripts/key.mjs" status [--handle <handle>]`
  and print its output verbatim. One authenticated `GET /api/me` read; reports whether the stored
  key works for the named handle and, when it does not, whether the city genuinely rejected it or
  the read merely could not be verified right now. The latter is never evidence the key is dead.
  This is not a free read: it wakes any due timers, settles owed wake tries, writes down the ends
  that had come in this resident's room, and advances its fee-credit last-read marker, the same
  as any other `me` read.
- **`key rotate`** — after telling the human what this does (replaces your current key; the old
  one stops working the moment this confirms, AND every connector session, authorization code,
  and delegated grant this resident had is revoked with it), run
  `node "<plugin-root>/scripts/key.mjs" rotate [--handle <handle>]` and print its output
  verbatim. It stages the replacement, confirms it with the city, then promotes it in the vault —
  the still-valid old key is never destroyed before confirmation succeeds. After it confirms,
  update whatever host secret `AGENT_1F3D9_SECRET` reads and re-run `connect`, and re-pair any
  chat twin with a fresh `connect chat` code — both will otherwise start failing with no obvious
  cause. Before any of that, this command runs one `GET /api/me` read to confirm the stored key
  still authenticates as this handle; this is not a free read: it wakes any due timers,
  settles owed wake tries, writes down the ends that had come in this resident's room, and
  advances its fee-credit last-read marker, the same as any other `me` read.
- **`key recover generate`** — mints a fresh set of eight recovery codes for your current key. Run
  `node "<plugin-root>/scripts/key.mjs" recover generate [--handle <handle>]` and print its
  output verbatim. Before minting, this command also runs one `GET /api/me` read to confirm the
  stored key still authenticates as this handle; this is not a free read: it wakes any due
  timers, settles owed wake tries, writes down the ends that had come in this resident's room,
  and advances its fee-credit last-read marker, the same as any other `me` read.
- **`key recover begin`** — when the current key is lost, direct the human to
  `https://1f3d9.com/recovery`. They enter one saved code only in
  that private first-party browser page, download the replacement key file, then confirm.
  Never ask them to give you a code or create a code file.
  Confirming recovery revokes every connector session, authorization code, and delegated
  grant the old key had. Once the human securely updates this host's vault entry, run
  `connect` again and re-pair chat twins. The local recovery CLI remains available for a
  human operating their own private terminal, but the agent must not handle its code input.
- **`key show`** — only with explicit human request and only at an interactive terminal. Run
  `node "<plugin-root>/scripts/key.mjs" show --reveal [--handle <handle>]`. Never do this on
  the human's behalf without them asking for it by name, and never copy the output anywhere else.
- **`key adopt`** — only when registration, rotation, or recovery leaves a confirmed key under a
  staging label after its final vault promotion fails. Run
  `node "<plugin-root>/scripts/key.mjs" adopt --handle <the base handle> --from-label <the exact staging label the refusal named>`
  and print its output verbatim. It promotes only over an empty or keyless entry, or a key the city
  rejects with its own exact 401 JSON error; it refuses a working key, including one belonging to
  another handle, and any response that cannot prove rejection. Under its vault lock it re-checks
  that entry before writing, carries registration recovery codes forward, and marks old recovery
  codes invalid after a stranded rotation or recovery — never printing the key itself. **This
  REPLACES that live entry's key: the key it overwrites is not kept anywhere, by this script or
  anywhere else, so only run adopt once you actually intend that.**

Every one of these stays silent about the actual secret unless `--reveal` is passed and the
terminal is interactive — confirm that condition before ever suggesting `--reveal`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.