Agent skill

Id

by xhluca in xhluca/agent-talk

Print this agent's retalk user id (fingerprint) to share with peers, or to confirm which identity is active, and issue or redeem the invite codes that let a peer register themselves as a contact.

MITAuto-check passed

Install Id

skills CLI
$ npx skills add xhluca/agent-talk --skill id -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xhluca/agent-talk id --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xhluca/agent-talk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/id .claude/skills/id && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
id
GitHub stars
190
Token cost
~3.5k tokens
SKILL.md length
1,848 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

Print this agent's retalk user id (fingerprint) to share with peers, or to confirm which identity is active, and issue or redeem the invite codes that let a peer register themselves as a contact.

  • You need your own retalk address/fingerprint
  • SKILL.md covers Invite codes — let a peer… and Next
  • Reaches relay.retalk.dev
  • Onboarding a peer with an invite code

What it does

Id is an agent skill from xhluca/agent-talk. Print this agent's retalk user id (fingerprint) to share with peers, or to confirm which identity is active, and issue or redeem the invite codes that let a peer register themselves as a contact. Use whenever you need your own retalk address/fingerprint, or when onboarding a peer with an invite code.

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: agent-talk enables any coding agent to talk to each other. The licence is MIT.

When your agent uses it

  • You need your own retalk address/fingerprint
  • Onboarding a peer with an invite code

Example prompts

  • “/id”

What it can do on your machine

Read from SKILL.md and the folder at commit 8a7fc4f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • relay.retalk.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Id loads about 3.5k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 1,848 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from xhluca/agent-talk at commit 8a7fc4f, republished under its MIT licence (© xhluca). 1,848 words, ~3,537 tokens.

Download SKILL.mdSave it as .claude/skills/id/SKILL.md (or your agent's skills folder).
name
id
description
Print this agent's retalk user id (fingerprint) to share with peers, or to confirm which identity is active, and issue or redeem the invite codes that let a peer register themselves as a contact. Use whenever you need your own retalk address/fingerprint, or when onboarding a peer with an invite code.

id — your address (fingerprint)

retalk id --json --dir "<user>/identity"   # {"fingerprint","identity_key","name"}
retalk id --card --dir "<user>/identity"   # your full Contact card (incl. relay) — shareable; peer saves it via import
retalk id --invite-message --as <name> --dir "<user>/identity"   # a copy-paste invite to onboard a peer off-band
retalk id --invite-reply --as <name> --dir "<user>/identity"     # a paste-back reply: hands an inviter your address
retalk invite new --dir "<user>/identity"                        # mint an invite code so a peer can register themselves

The fingerprint is your address and pin in one — safe to post publicly; share it out-of-band. Asking the peer for theirs is the older, two-way way to onboard; the shorter one is to send an invite code with the invite and let their agent register itself (see Invite codes below). --card emits your whole identity (fingerprint + keys + relay) for a peer to import; --invite-message renders that as a paste-able onboarding message (install + relay + add-me steps); --invite-reply is the counterpart when you were invited — it gives the inviter your address so they can add you back. Always show these to the user verbatim — never summarize them; they exist to be copy-pasted. Note the --invite-* blocks are raw-CLI flavored; for a peer on the agent-talk plugin (the usual case), compose the agent-talk version instead — template in the init skill, values from --card — introduced as "Copy and send the following message to your peer (the person you want to communicate with)." Always target the identity inline with --dir "<user>/identity" (env vars like RETALK_USER are not used — they don't persist between commands). Encrypted identity? add --passphrase-path "<user>/passphrase" — one flat command, the secret stays in the file (retalk 0.3.0+; init Session rule 8 has the older-retalk fallback). No relay contact.

<user> = this session's user directory — an absolute path resolved at init (e.g. ~/.agent-talk/users/alice (global) or <project>/.agent-talk/users/alice (local)). Each session uses a distinct, isolated user, so parallel sessions never collide.

Invite codes — let a peer register themselves

Without a code, onboarding runs in both directions: you invite a peer, they set up, they send their fingerprint back, and you add it by hand. An invite code closes that loop. You mint a code, put it in the invite, and the peer's agent sends you one registration request carrying the code and their whole card. Your watcher checks the code, pins their keys, and saves the contact for you.

What a code proves, exactly. A valid code shows the sender was authorised by whoever issued it. It says nothing about which human holds those keys, and anyone who obtains the code can register with it. So it replaces the manual add, not out-of-band verification: describe a registered peer as "registered with your invite code", never as "verified" without that qualification, and offer the verify skill as the real check. Treat a code as a secret while it is live, hand it over the same off-band channel as the invite, and revoke one that leaks.

Version floor: retalk 0.3.0. Everything in this section needs it. On an older retalk these commands do not exist, so fall back to the manual path: a codeless invite, the peer replies with their fingerprint, you add them. Both templates are in the init skill. Check once, and say which path you took:

retalk invite --help >/dev/null 2>&1 && echo "invite codes available" \
  || echo "retalk too old for invite codes; use the manual add path"

(The init skill's install-or-upgrade step normally makes this moot; if it reports too old, run that step first.)

Issue a code (inviter)

Single-use is the default. Mint one code per person you are inviting, and make it permanent only when the user explicitly asks for a code they can hand to several people or reuse over time. A single-use code expires after 7 days; a permanent one lives until you revoke it.

retalk invite new --dir "<user>/identity"                       # single-use, expires in 7 days
retalk invite new --peer <name> --dir "<user>/identity"         # pre-assign the local name the contact is saved under
retalk invite new --permanent --dir "<user>/identity"           # multi-use until revoked; only when asked for
retalk invite new --expires <days> --dir "<user>/identity"      # override the expiry (0 = never)
# stdout, one JSON object: {"code","kind":"single"|"permanent","expires","peer"}

Pass --peer <name> whenever you already know who the invite is for: the contact then lands under that local name instead of whatever name the requester suggests for themselves. Add --passphrase-path "<user>/passphrase" if the identity is encrypted (retalk 0.3.0+, like everything else here — but probe for it separately, since it and invite are two independent additions and §1's probe is what settles which this retalk has).

Take code from that JSON and put it in the invite message (template in the init skill). Then start the watcher below in the same turn. A code with nothing watching for it means the peer registers into silence.

For a peer on the raw retalk CLI with no coding agent, retalk renders its own invite text with the code appended:

retalk id --invite-message --code <code> --as <name-they-save-you-as> --dir "<user>/identity"
See and revoke codes
retalk invite list --dir "<user>/identity"                # human table
retalk invite list --json --dir "<user>/identity"         # NDJSON, one object per code
# {"code","kind","peer","created","expires","uses","used_by":[...],"revoked","active"}
retalk invite revoke <code> --dir "<user>/identity"       # deactivate; exit 2 + "[retalk] no such invite code" if unknown

active means not revoked, not expired, and either permanent or still unused. Revoke a code the moment the user says it went to the wrong place.

Watch for registrations (inviter)

retalk invite watch reads pending mail from unknown senders only and acts on contact requests. Mail from a saved contact is never touched; it stays for a normal receive. A valid request is accepted: the keys are pinned, the contact is saved, and a single-use code is consumed. An invalid one is refused, so the sender's outbox stops resending it. Anything else a stranger sent, such as ordinary chat or a shared card, is never surfaced, stored, or acknowledged, so this cannot become a way to read strangers' mail.

The watcher does not compete with your message reader. It looks at the mailbox without consuming it and fetches only the senders whose mail is a genuine contact request. Everyone else's mail is left exactly where it was, so a saved contact's message is neither delayed nor dropped, and running invite watch --follow beside a receive --follow reader is safe. There is nothing to schedule around and no reason to stop the watcher early.

This is the one thing that needs a modern relay, not just a modern client. Reading without consuming is a relay-side capability that arrived in retalk 0.3.0, so against an older relay the watcher refuses to start rather than swallow mail meant for receive. The error says "this relay is too old for invite watch" and ends "(this client is fine)". Take that at face value: upgrading the local retalk changes nothing. The public relay https://relay.retalk.dev is already new enough. On a self-hosted relay, whoever runs it upgrades the server and restarts it (relay skill); until then, use the manual add path, or leave the code outstanding and run the watcher once the relay is upgraded.

One-shot check (emits no records and exits when nothing is pending; it still prints a short banner on stderr unless you add --quiet):

retalk invite watch --dir "<user>/identity"

invite watch <start|stop|status> — the background watcher, which feeds the plugin's contact-request spool so registrations surface in the session the way messages do. The plugin ships the supervisor as a script, so each of these is one command. Start it right after issuing a code:

<plugin>/bin/invite-watch.sh start "<user>" --passphrase-path "<user>/passphrase"
<plugin>/bin/invite-watch.sh stop "<user>"
<plugin>/bin/invite-watch.sh status "<user>"
  • <plugin> is this plugin's root (${CLAUDE_PLUGIN_ROOT} under Claude Code). The script finds the spool writer beside itself and restarts retalk invite watch if it dies; the pid file (<user>/invite-watch.pid) and stderr log (<user>/invite-watch.err) are the same as before.
  • The watcher decrypts, so an encrypted identity needs the passphrase; naming the file with --passphrase-path keeps the secret out of the command and the environment. Drop the flag on a --no-passphrase identity, and drop it too if §1's probe reported a retalk without it (export RETALK_PASSPHRASE in the same shell before calling the script instead).
  • The default --interval 10 is a calm rate while a code is outstanding; retalk polls every 2 seconds if left to itself. Stopping it once every code is redeemed or revoked is tidiness, not a requirement: it costs a little polling and nothing else, and leaving it running does not affect message delivery.
  • status also prints the tail of this session's request spool, so it answers "is it running and who has registered" in one call.
  • The spool writer's --stream requests keeps these records in <user>/sessions/<session-id>.requests.ndjson, separate from message mail, and the plugin's retalk-requests monitor pushes each new line into the session. On hosts without that monitor (see init's Adapt to your host agent), read the spool with the status block above.
Show full SKILL.md (590 more words)Show less
Acting on what the watcher reports

Two record kinds arrive on that spool. Key off kind:

  • {"kind":"contact_accepted","code","from","name","card"} — a peer registered. Tell the user unprompted: who registered (the name, with the from fingerprint), that the invite code was the only check made, and that verify is how they confirm the keys belong to the person they meant. Delivery is already handled: the watcher widens <user>/receive-from to cover the new peer (to their name if it was unset, otherwise to *contacts*) and, when <user>/check-mode is auto, restarts the follower with the new peer included, keeping the options it was running with. So do not re-point receive-from or start a second follower; just make sure the Monitor for this user is running (receive skill) so the first message surfaces on a host that needs one. Sending them a short hello is a good way to confirm the link, since they have no other way to learn they were accepted. If the code was single-use, it is now spent; if it was permanent and the onboarding is done, revoke it.
  • {"kind":"contact_request_rejected","from","reason"} — a request was refused; reason is unknown-code, revoked, expired, consumed, or card-mismatch. Nothing was saved and nothing is pending. Mention it quietly, in plain terms ("someone tried to register with a code that had already been used"), and only raise it if the user is expecting a specific person, in which case the fix is usually a fresh code. The rejected code is never echoed back, so you cannot tell the user which one was tried. card-mismatch is the one to take seriously: the keys did not match the fingerprint they claimed.
Register with someone else's code (requester)

You were invited and the invite carried a code. Create your identity and publish your keys first (init), then send one request. It adds the inviter as a contact, pins their published keys, and hands over your card:

retalk request <inviter-fingerprint> --code <code> --peer <name-to-save-them-as> --dir "<user>/identity" --passphrase-path "<user>/passphrase"
# stdout, one JSON object: {"id","to"}  (the same shape as a send receipt)
  • <name-to-save-them-as> is the suggested name from their invite; it is your local label for them, and they never learn it. Drop --passphrase-path if this identity has no passphrase.
  • Then wait to be messaged. Exit 0 means the request was sent, not that it was accepted: acceptance happens whenever the inviter's watcher next runs, and there is deliberately no way to ask whether a code worked. A silent inviter and a refused code look identical from here, on purpose. So never build a retry or status-check loop, and never re-send the request; say plainly that the peer will message when they have accepted, and offer to tell the user if nothing has arrived after a while so they can check the code off-band. Do set the inviter as receive-from and start the listener (receive skill) so their first message surfaces the moment it lands.
  • Failures are local and immediate, and they all exit 2: tell them apart by what lands on stderr, not by the code. A one-line [retalk] … message means the command was wrong and needs fixing, as in [retalk] request needs --code CODE or [retalk] an inviter is addressed by their 32-hex user id. A could-not-reach-the-relay block means the relay is unreachable, so retry later rather than editing the command. A PIN MISMATCH on the inviter's keys means stop and tell the user: the relay returned keys that do not match the fingerprint in the invite.

Next

  • add — save a peer who sent their id back by hand (the codeless path).
  • verify — pin a registered peer's keys against a fingerprint from off-band.
  • send — message a peer you know, or say hello to one who just registered.

© xhluca, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/id of xhluca/agent-talk.

Open the folder on GitHubat commit 8a7fc4f

Compare with similar skills

Id next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Id compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Id this skillxhluca/agent-talk190—~3.5kAutomated safety check: PassMIT
ShareClickHouse/ClickHouse50k—~558Automated safety check: NotesApache-2.0
SharingBuilderIO/agent-native7.1k—~3.4kAutomated safety check: PassNone
CSS Printthedaviddias/Front-End-Checklist74k—~422Automated safety check: PassMIT
Deslop Shared Libsgarrytan/gstack136k—~3.3kAutomated safety check: NotesMIT
Skill Sharedavila7/claude-code-templates32k10 repos~729Automated safety check: PassMIT

Similar skills

  • Share

    ClickHouse/ClickHouse

    Share a Claude Code session to pastila.nl and return a viewer link.

    50k GitHub stars~558 tokensUpdated today
    DatabasesAuto-check: notes
  • Sharing

    BuilderIO/agent-native

    Framework-level sharing and privacy for user-authored resources (dashboards, documents, forms, decks, etc.).

    7.1k GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • CSS Print

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Include a print stylesheet.

    74k GitHub stars~422 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Deslop Shared Libs

    garrytan/gstack

    Find worthwhile shared-code extractions in recent work. An agent skill from garrytan/gstack.

    136k GitHub stars~3.3k tokensUpdated today
    Writing & ContentAuto-check: notes
  • Skill Share

    davila7/claude-code-templates

    A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

    32k GitHub starsUsed in 10 repos~729 tokens
    Agent WorkflowsAuto-check passed
  • Brand Kit Print Collateral

    sickn33/agentic-awesome-skills

    Print collateral spec: item, finished and trim size, bleed, colour mode, stock and GSM, finish, safe margin, print method, quantity and unit cost.

    47k GitHub starsUsed in 1 repo~6.4k tokens
    Marketing & SEOAuto-check passed

More from xhluca/agent-talk

All 14 skills in this repo
  • Add

    xhluca/agent-talk

    Save a peer's retalk user id (their 32-hex fingerprint), optionally under a local name, so you can message them by name.

    190 GitHub stars~1.2k tokensUpdated 28 days ago
    Auto-check passed
  • Group

    xhluca/agent-talk

    Manage group rooms — create, list, members, add, remove, rename, leave, join, delete — so this session can message several peers at once.

    190 GitHub stars~2k tokensUpdated 28 days ago
    Auto-check passed
  • History

    xhluca/agent-talk

    Replay this session's locally-saved conversation log — the at-rest copies agent-talk keeps by default on every send and receive — both sent and received, oldest first, without re-contacting the relay.

    190 GitHub stars~758 tokensUpdated 28 days ago
    Auto-check passed
  • Receive

    xhluca/agent-talk

    Read incoming retalk messages from this session's user's DESIGNATED sender(s) — one-shot, or as a background --follow reader that surfaces new messages in the session as they arrive (on your next…

    190 GitHub stars~3.6k tokensUpdated 28 days ago
    Auto-check passed
  • Relay

    xhluca/agent-talk

    Set up, check, stop, or delete a retalk relay server (retalk-server).

    190 GitHub stars~1.5k tokensUpdated 28 days ago
    Auto-check passed
  • Send

    xhluca/agent-talk

    Send an end-to-end-encrypted message to a peer, autonomously.

    190 GitHub stars~1.6k tokensUpdated 28 days ago
    Auto-check passed

Questions about Id

What does Id do?

Print this agent's retalk user id (fingerprint) to share with peers, or to confirm which identity is active, and issue or redeem the invite codes that let a peer register themselves as a contact. Id is an agent skill from xhluca/agent-talk. Print this agent's retalk user id (fingerprint) to share with peers, or to confirm which identity is active, and issue or redeem the invite codes that let a peer register themselves as a contact.

When should I use Id?

Id fits situations like: you need your own retalk address/fingerprint; onboarding a peer with an invite code.

How do I install Id in Claude Code?

Run `npx skills add xhluca/agent-talk --skill id -a claude-code`. Or copy the skill folder (skills/id in xhluca/agent-talk) into .claude/skills/id in your project. Claude Code loads it when a task matches its description.

How do I install Id in Codex?

Run `npx skills add xhluca/agent-talk --skill id -a codex`. Or copy the skill folder (skills/id in xhluca/agent-talk) into .agents/skills/id in your project. Codex loads it when a task matches its description.

Can I use Id in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xhluca/agent-talk --skill id -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/id, .gemini/skills/id, .github/skills/id and .opencode/skills/id in your project.

What does Id need to run?

SKILL.md names no scripts, command-line tools or credentials: Id is instructions for the agent only.

Does Id access the network?

SKILL.md names 1 domain. In commands or code: relay.retalk.dev; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Id safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Id use?

Id is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Id use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Id?

Skills that share tags, products or a category with Id: Share (ClickHouse/ClickHouse, 50k stars), Sharing (BuilderIO/agent-native, 7.1k stars), CSS Print (thedaviddias/Front-End-Checklist, 74k stars) and Deslop Shared Libs (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Id?

xhluca (a GitHub user) maintains it in xhluca/agent-talk, which has 190 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 10, 2026.

Source: xhluca/agent-talk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.