agentleFS
fastxyzfastxyz/fast-sdk/skills/key-handover/SKILL.md

key-handover

Skill2 starsChanged 2 months agoMITView on GitHub

Hand off a Fast account's signing key from the user's wallet to your agent runtime using fast-cli's `authorize` commands. Use when the user wants to authorize you to sign on their behalf for a Fast account.

  • Installs packages
  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check if fast-cli is installed:

    line 10
  2. Distinctive:

    If it's not installed, ask the user to install it and wait for them to confirm — do not install it yourself.

    line 16
  3. Very specific:

    If the user specified a particular authorize URL (e.g., a dev or staging environment), pass it via --url <URL>.

    line 31
  4. Distinctive:

    STOP and wait: Do not fabricate or guess the handover code.

    line 38
  5. Distinctive:

    After success, confirm to the user that the key was received.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Key handover (fast-cli)

Setup

Check if fast-cli is installed:

fast --version

If it's not installed, ask the user to install it and wait for them to confirm — do not install it yourself. Show them this command:

npm install -g @fastxyz/cli

Flow

# 1. Generate the request.
fast authorize request --requester "my-agent" --json
# → { "auth_url": "...", "request_fingerprint": "123456", "request_expires_at": "..." }

If the user specified a particular authorize URL (e.g., a dev or staging environment), pass it via --url <URL>.

Show auth_url and the 6-digit request_fingerprint to the user. Tell them to open the URL in their Fast wallet, verify the fingerprint matches, approve, then paste back the encrypted handover code.

STOP and wait. Do not fabricate or guess the handover code. It can only come from the user after they approve in their wallet.

# 2. Once the user pastes the code, decrypt it.
fast authorize complete --message '<the code they pasted>' --json
# → { "private_key": "0x..." }

After success, confirm to the user that the key was received. Do not echo the private key back to them — they already have it in their wallet.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.