add-dial-tool
Skill31k starsChanged 2 months agoMITView on GitHub
Give chosen NanoClaw agents a real phone number as a container tool — the `dial` CLI baked into the agent image plus OneCLI credential injection for api.getdial.ai, scoped per agent, so the agents you pick can send SMS, place AI voice calls, and receive verification codes from inside the sandbox. Independent of the Dial channel; idempotent; re-run to change which agents may use it. Use when the user wants agents to text, call, or run `dial …` from a chat, without wiring Dial as a messaging channel.
- Installs packages
2 other projects use a version of this, 1 of them edited.
How people change it
All 1 edited versions we compared keep every one of its 7 rules.
Of the 1 edited version we compared: 1 keep every rule.
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- prathish-ks/isthmusword for word, first seen Oct 6, 2026
- TomGranot/groupguardedited, first seen Sep 3, 2026
Who's talking about nanocoai/nanoclaw
- @github-trending-js.bsky.social“📦 nanocoai / nanoclaw ⭐ 29,631 (+44) 🗒 TypeScript A lightweight alternative to OpenClaw that runs in …”Bluesky · Jun 2, 2026 · 2 likes
- mnemon-dev/mnemon“guide.md and skill.md not written under MNEMON_DATA_DIR — lost on container restart”GitHub · May 29, 2026 · 2 reactions
- socfortress/CoPilot“copilot-talon-improv”GitHub · Sep 2, 2026 · 1 reactions
- @githubfeed.bsky.social“🚀 GitHub Intelligence Drop nanoclaw (TypeScript • 🟢) ⭐ 30.6K → https://github.com/nanocoai/nanoclaw …”Bluesky · Aug 30, 2026 · 1 likes
- @github-trending-js.bsky.social“📦 nanocoai / nanoclaw ⭐ 28,995 (+59) 🗒 TypeScript A lightweight alternative to OpenClaw that runs in …”Bluesky · May 20, 2026 · 1 likes
The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 54
Talked about on GitHub and Bluesky (54 times).
On GitHub · 50
- May 29, 2026guide.md and skill.md not written under MNEMON_DATA_DIR — lost on container restart — mnemon-dev/mnemon2 reactions · 1 comment
- Sep 2, 2026copilot-talon-improv — socfortress/CoPilot1 reaction · 5 comments
- Nov 30, 2026Staleness detected (2026-11-30) — msyvr/awesome-agent-sandboxes0 reactions
- Nov 20, 2026agent-skills.github.nanocoai.nanoclaw: 2026.10.0 → 2026.11.0 — sudosubin/agents.nix0 reactions
- Nov 18, 2026[review mirror] fix(agent-runner): drop queued turns the provider answered inside another turn — drsmk238/nanoclaw0 reactions · 21 comments
45 more on GitHub
- Nov 16, 2026مرشحون جدد للدليل (2026-11-16) — mgrd281/Skill-0 reactions
- Nov 13, 2026OO player rewrites batch 6: sim, hermes, nanoclaw, openclaw, squad, crewai, paperclip, agentrq, crewlet, openswarm — Agent-Analytics/awesome-multi-agent-orchestrators0 reactions · 1 comment
- Nov 1, 2026Script gate for scheduled agents: a cheap check decides whether to wake the brain — Icewater1337/fridolin0 reactions
- Oct 29, 2026fix(telegram): wrap actions with more than 8 buttons into rows of 8 — vercel/chat0 reactions · 1 comment
- Oct 29, 2026Telegram polling: idle getUpdates has no client-side deadline and hangs on a black-holed connection — vercel/chat0 reactions
- Oct 21, 2026docs(gchat): Workspace add-on and webhook verification keys (nanoclaw #4132, #4100) — glifocat/nanoclaw-docs0 reactions · 1 comment
- Oct 16, 2026docs: add NanoClaw to client showcase — agentskills/agentskills0 reactions
- Oct 14, 2026Reposition README: a personable assistant with real memory — bbinoy/ted-personal-assistant0 reactions
- Oct 14, 2026agent-skills.github.nanocoai.nanoclaw: 2.4.0 → 2026.10.0 — sudosubin/agents.nix0 reactions
- Oct 13, 2026M19 stage 4: control-plane simplification decisions (containerized supervisor, embedded store, Hermes pin) — letya999/hermes-hub0 reactions · 2 comments
- Oct 12, 2026Add NanoClaw harness detection — auron-labs/harness-detect0 reactions
- Oct 11, 2026[App Request] NanoClaw — getumbrel/umbrel-apps0 reactions
- Oct 11, 2026Refresh latest contributions and organize profile projects — ogarciarevett/ogarciarevett0 reactions
- Oct 11, 2026docs(promotion): Step 9 — move the pin from v2.4.0 to v2026.10.0 — prathish-ks/isthmus0 reactions
- Oct 10, 2026chore(updates): weekly scan 2026-W41 — tiberiuarva/enterpriseaitools0 reactions · 1 comment
- Oct 4, 2026docs(env): CLAUDE_CODE_AUTO_COMPACT_WINDOW can be set on the host after v2.4.0 — glifocat/nanoclaw-docs0 reactions · 1 comment
- Oct 4, 2026docs(upgrading): setup commits its own files; never stash installed skill files — glifocat/nanoclaw-docs0 reactions · 1 comment
- Oct 4, 2026docs(upgrading): validation refreshes the selected gateway on gateway-skill changes — glifocat/nanoclaw-docs0 reactions · 1 comment
- Oct 3, 2026agent-skills.github.nanocoai.nanoclaw: 2.3.0 → 2.4.0 — sudosubin/agents.nix0 reactions
- Oct 2, 2026fix(e2e): accept NanoClaw setup's own commits after the tested commit — nanocoai/nanoclaw-oss-dev-toolssays it tested it0 reactions
- Oct 1, 2026Dependency advisories still open on v0.52.0 (grpc, x/crypto, otel log, go-archive) — paradigmxyz/iron-proxy0 reactions
- Sep 30, 2026[Candidate] nanocoai/nanoclaw - large collection (63 SKILL.md files) — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 30, 2026agent-skills.github.nanocoai.nanoclaw: init at 2.3.0 — sudosubin/agents.nix0 reactions
- Sep 27, 2026[Plugin]: NanoClaw — omacom/omarchy-plugin-marketplace0 reactions · 11 comments
- Sep 27, 2026docs(promotion): G4 — move the pin from v2.3.0 to v2.4.0 — prathish-ks/isthmus0 reactions
- Sep 13, 2026feat(e2e): supervise provider authentication in the public wizard — nanocoai/nanoclaw-oss-dev-tools0 reactions
- Sep 2, 2026Suggest: nanocoai/nanoclaw — haggaishachar/awesomemap0 reactions · 1 comment
- Aug 31, 2026candidate: add-wechat — BigPengSays/awesome-creator-skills0 reactions
- Aug 30, 2026candidate: add-wechat — BigPengSays/awesome-creator-skills0 reactions
- Aug 29, 2026candidate: add-wechat — BigPengSays/awesome-creator-skills0 reactions
- Aug 25, 2026harvest: world watch — SaneSanders/noemium0 reactions
- Aug 24, 2026Upstream update detected: plan a sandbox refresh (2026-08-24) — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: chat SDK dependency bump 4.29.0 -> 4.38.1 — nanocoai/nanoclaw#3460 / #3461 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: send_message double-delivery with mid-turn message blocks — nanocoai/nanoclaw#3462 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: messages_in UNIQUE-constraint crash on retry — nanocoai/nanoclaw#3457 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: Discord approval button custom_id corruption — nanocoai/nanoclaw#3185 / #3458 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: claim-stuck watchdog kills busy (not stuck) turns — nanocoai/nanoclaw#3455 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Track: upstream nanoclaw fixes opened 2026-08-22/23 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 20, 2026AI Agent Ecosystem Daily 2026-08-21 — huang-yi-dae/agents-radar0 reactions
- Aug 19, 2026fix(pairing): accept spaced approval codes — NousResearch/hermes-agent0 reactions · 1 comment
- Aug 13, 2026Add NanoClaw to compatible clients — agentplugins/agent-plugins-site0 reactions · 2 comments
- Aug 2, 2026chore(sync): update upstream pins for nanoclaw-aio — JSONbored/nanoclaw-aio0 reactions · 1 comment
- Jul 24, 2026🦞 OpenClaw 生态日报 2026-07-24 — zx0828/big_model_radar0 reactions
- Jul 20, 2026🦞 OpenClaw 生态日报 2026-07-20 — 96loveslife/big_model_radar0 reactions
- Jul 19, 2026Add NanoClaw installation instructions to README — Kehillat-Eretz-Hemdah/keh-agent-plugins0 reactions
On Bluesky · 4
- Jun 2, 2026📦 nanocoai / nanoclaw ⭐ 29,631 (+44) 🗒 TypeScript A lightweight alternative to OpenClaw that runs in containers for security. Connects to… — @github-trending-js.bsky.social2 likes and reposts
- Aug 30, 2026🚀 GitHub Intelligence Drop nanoclaw (TypeScript • 🟢) ⭐ 30.6K → https://github.com/nanocoai/nanoclaw heroui (TypeScript • 🟢) ⭐ 30.5K →… — @githubfeed.bsky.social1 likes and repost
- May 20, 2026📦 nanocoai / nanoclaw ⭐ 28,995 (+59) 🗒 TypeScript A lightweight alternative to OpenClaw that runs in containers for security. Connects to… — @github-trending-js.bsky.social1 likes and repost
- Aug 11, 2026My big gripe with a lot of those agent apps is that they basically just promote “go ask AI to configure x”. Like, if NanoClaw install… — @soulfire.jarexibackblaze.org0 likes and reposts · 3 replies
Other versions2 projects use a version of this.
Word for word · 1
- prathish-ks/isthmus★ 2100% same
Edited · 1
- TomGranot/groupguard★ 497% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- container/CLAUDE.mdCLAUDE.md
- add-anydocSkill
- add-atomic-chat-toolSkill
- add-clidashSkill
- add-codexSkill
- add-dashboardSkill
- add-deltachatSkill
- add-dial-numberSkill
- add-dialSkill
- add-discordSkill
- add-emacsSkill
- add-gchatSkill
- add-githubSkill
- add-imessageSkill
- add-iron-proxySkill
- add-karpathy-llm-wikiSkill
- add-linearSkill
- add-macos-statusbarSkill
- add-matrixSkill
- add-mattermostSkill
- add-mnemonSkill
- add-ollama-providerSkill
- add-ollama-toolSkill
- add-onecliSkill
- add-opencodeSkill
- add-resendSkill
- add-rtkSkill
- add-signalSkill
- add-slackSkill
- add-tavily-toolSkill
- add-teamsSkill
- add-telegramSkill
- add-vercelSkill
- add-webexSkill
- add-wechatSkill
- add-whatsapp-cloudSkill
- add-whatsappSkill
- customizeSkill
- debugSkill
- init-first-agentSkill
- learnSkill
- manage-channelsSkill
- manage-mountsSkill
- migrate-from-openclawSkill
- migrate-from-v1Skill
- migrate-memorySkill
- migrate-nanoclawSkill
- migrate-slack-agentsSkill
- setupSkill
- slack-a2a-roomsSkill
- slack-agent-flowSkill
- update-nanoclawSkill
- update-skillsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Run this from the NanoClaw repo on the host (not from a chat with an agent — the container can't install itself).
- Very specific: line 38
If it fails, tell the user to run /init-onecli first, then retry.
- Distinctive: line 61
Ask the operator which of them may use Dial.
- Distinctive: line 103
If it is, read which account — that account's key is what the chosen agents will use:
- Distinctive: line 115
If it is not, verify an email with a one-time code.
- Very specific: line 135
Verify it. Do not pass --agent nanoclaw here: this skill owns the container dial-cli skill, and --agent would drop a second, unmanaged copy …
- Very specific: line 173
Read the API key from the host auth file — the single source of truth, written by dial auth login / dial auth verify-otp — and put it in …
≈ “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.
Files
Add Dial Tool
Installs Dial as a container tool: the dial CLI on the agent's PATH, the
dial-cli skill so the agent knows how to drive it, and an OneCLI credential so
in-container calls are injected keyless. Independent of the Dial channel
(/add-dial) — install this alone. Idempotent: re-run it to change which agents
may use Dial.
This tool spends money and reaches real people. An agent with Dial access can
text and call any number and buy more numbers, billed to the Dial account. The
CLI and the skill file land in every agent's container, but the key is
injected per agent by OneCLI, so the operator chooses which agents get it. Every
other agent gets an OneCLI block rule and sees 403 blocked_by_policy if it
tries.
Run this from the NanoClaw repo on the host (not from a chat with an agent — the
container can't install itself). The mechanical steps carry nc: directive
fences: an agent reads the prose and applies them, and a parser can apply them
deterministically from the same document. Every directive is idempotent, so the
whole skill is safe to re-run; anything a parser can't apply falls back to the
prose beside it.
Pre-flight
OneCLI is required for credential injection — without it there is no way to hand the key to a container without putting it in an env var. This must succeed before anything else runs:
command -v onecli >/dev/nullIf it fails, tell the user to run /init-onecli first, then retry. Stop here.
Calls this setup makes to Dial identify the install. The dial CLI prepends
DIAL_USER_AGENT to its own token, so the account's requests stay attributable
to this NanoClaw install in Dial's server-side logs. Resolve the token once
(nanoclaw/<version>; an unreadable package.json degrades to
nanoclaw/unknown rather than blocking the install):
node -p "'nanoclaw/'+(require('./package.json').version||'unknown')" 2>/dev/null || echo nanoclaw/unknownPrefix every dial command below with DIAL_USER_AGENT={{dial_ua}}.
Choose which agents may use Dial
List the agent groups (the NanoClaw service must be running — ncl talks to it
over its socket):
ncl groups list --json | jq -r 'if (.data|length)==0 then "no agent groups yet" else [.data[] | "\(.id) (\(.name))"] | join(", ") end'Ask the operator which of them may use Dial. Say plainly what they are granting, and ask even when there is a single agent:
Agents on this install: {{agent_groups}}. Giving an agent Dial lets it text and call any number and buy numbers, billed to your Dial account. Agents you leave out are blocked at the gateway (reversible by running /add-dial-tool again). Agents created after this run have Dial until the next run.Which agents may use Dial? Enter agent ids separated by commas with no spaces (the `ag-…` column), `all` for every agent, or `none` to install the tool with every agent blocked for now.all and none cannot be mixed with ids, and an empty answer is never
"everyone". A typo must not silently open or close anything, so every id named
must be a real agent group:
for w in $(printf '%s' '{{dial_agents}}' | tr ',' ' '); do case "$w" in all|none) ;; *) ncl groups list --json | jq -e --arg id "$w" '.data[] | select(.id==$id)' >/dev/null || { echo "unknown agent group '$w' — see: ncl groups list" >&2; exit 1; }; esac; doneInstall the Dial CLI on the host
The host needs the dial CLI to sign in: dial auth login / dial auth
verify-otp write the host auth file that the credential step below reads. Pinned
to the same version the agent image gets, so host and sandbox agree:
command -v dial >/dev/null || npm install -g @getdial/cli@0.37.0Sign in to Dial
Dial's CLI owns the account credential (an auth file it writes on sign-in).
Check the host sign-in
Is this host already signed in?
DIAL_USER_AGENT={{dial_ua}} dial doctor --jsonRead the account
If it is, read which account — that account's key is what the chosen agents will use:
DIAL_USER_AGENT={{dial_ua}} dial doctor --jsonThis host is signed in to Dial as {{connected_email}}; the agents you chose will use that account. To give them a different account, run `dial auth login <email> --force` and `dial auth verify-otp --code <code>` on the host first, then run /add-dial-tool again.Send the code
If it is not, verify an email with a one-time code. Collect the email:
What's your email? Dial sends a one-time code to verify it. By continuing you create a Dial account and agree to Dial's Terms of Service (https://getdial.ai/terms) and Privacy Policy (https://getdial.ai/privacy).Send the code (--force re-sends even if a prior code is pending):
DIAL_USER_AGENT={{dial_ua}} dial auth login {{owner_email}} --forceVerify the code
Collect the code:
Enter the 6-digit code from your emailVerify it. Do not pass --agent nanoclaw here: this skill owns the container
dial-cli skill, and --agent would drop a second, unmanaged copy next to it:
DIAL_USER_AGENT={{dial_ua}} dial auth verify-otp --code {{otp}}Put the CLI and its skill in the agent image
The agent's global Node CLIs install from container/cli-tools.json, not from
hand-edited Dockerfile layers. Add the pinned Dial CLI — idempotent on name, so
a re-run is a no-op. @getdial/cli has no native postinstall, so no onlyBuilt:
{ "name": "@getdial/cli", "version": "0.37.0" }The version (0.37.0) is the canonical pin — this document is the source of
truth; the host install above uses the same one.
Mount the sandbox-aware dial-cli skill so the agent knows the CLI runs keyless
in there and never asks for credentials. container/skills/ is mounted read-only
into every agent container (at /app/skills) — which is why the key, not the
skill file, is what gets scoped per agent:
container-skills/dial-cli/SKILL.md -> container/skills/dial-cli/SKILL.mdRebuild the image so the CLI lands. On an install that fetches a published image this adds Dial as a layer on top of it; on one that builds its own it rebuilds:
./container/build.shRegister the credential with OneCLI
Read the API key from the host auth file — the single source of truth, written
by dial auth login / dial auth verify-otp — and put it in the OneCLI vault
for api.getdial.ai. Always replace: the vault is keyed by name, so an
existing "Dial API" secret is not necessarily this account's (re-onboarding,
switching accounts, or rotating the key all leave a secret whose value points at
the previous account, and a sandboxed agent then lists that account's numbers).
A stale secret is deleted and a fresh one created rather than updated in place:
onecli secrets update accepts a new value only on the command line, and the key
must never sit on one. It travels through a 0600 temp file that is removed right
after (--file), so it is never on argv or in a captured variable. Selective-mode
agents pick the new id up in the merge step below:
T=$(mktemp) && chmod 600 "$T" && jq -r '.apiKey // empty' "${XDG_DATA_HOME:-$HOME/.local/share}/dial/auth.v1.json" > "$T" 2>/dev/null; [ -s "$T" ] || { rm -f "$T"; echo "no Dial API key in the host auth file — sign in with dial auth login / verify-otp, then re-run" >&2; exit 1; }; S=$(onecli secrets list | jq -r 'first(.data[] | select(.name | test("(?i)dial"))) | .id // empty'); if [ -n "$S" ]; then onecli secrets delete --id "$S" >/dev/null || { rm -f "$T"; echo "could not remove the previous Dial secret $S" >&2; exit 1; }; fi; onecli secrets create --name "Dial API" --type generic --file "$T" --host-pattern api.getdial.ai --header-name Authorization --value-format "Bearer {value}" >/dev/null; rc=$?; rm -f "$T"; exit $rcScope it to the chosen agents
Create the OneCLI agents
NanoClaw gives every agent group its own OneCLI agent whose identifier is the
group id, created on the group's first spawn. A group that has never spawned has
no OneCLI agent yet, and a block rule needs one to attach to — so create the
missing ones now, exactly as the runtime would (secret mode all, nothing else
touched):
G=$(ncl groups list --json) || { echo "could not list agent groups — is the NanoClaw host running?" >&2; exit 1; }; AG=$(onecli agents list) || { echo "could not list OneCLI agents" >&2; exit 1; }; printf '%s' "$G" | jq -r '.data[] | "\(.id)\t\(.name)"' | while IFS="$(printf '\t')" read -r gid gname; do printf '%s' "$AG" | jq -e --arg g "$gid" '.data[] | select(.identifier==$g)' >/dev/null || onecli agents create --name "$gname" --identifier "$gid" >/dev/null || { echo "could not create an OneCLI agent for $gname ($gid)" >&2; exit 1; }; doneSet the block rules
The one switch is a per-agent block rule on api.getdial.ai, named
Dial: blocked for <group> so only this skill's rules are ever read or written
(an operator's own rules on the host are left alone). A chosen agent has its
rule removed; every other agent has one present and enabled. A 403
blocked_by_policy in a container means "not chosen", not "broken":
A=$(printf '%s' '{{dial_agents}}' | tr -d ' '); G=$(ncl groups list --json) || { echo "could not list agent groups — is the NanoClaw host running?" >&2; exit 1; }; case ",$A," in *,all,*) A=$(printf '%s' "$G" | jq -r '[.data[].id] | join(",")');; esac; AG=$(onecli agents list) || { echo "could not list OneCLI agents" >&2; exit 1; }; RL=$(onecli rules list) || { echo "could not list OneCLI rules" >&2; exit 1; }; printf '%s' "$G" | jq -r '.data[] | "\(.id)\t\(.name)"' | while IFS="$(printf '\t')" read -r gid gname; do aid=$(printf '%s' "$AG" | jq -r --arg g "$gid" 'first(.data[] | select(.identifier==$g)) | .id // empty'); [ -n "$aid" ] || { echo "no OneCLI agent for $gname ($gid)" >&2; exit 1; }; rid=$(printf '%s' "$RL" | jq -r --arg a "$aid" 'first(.data[] | select(.hostPattern=="api.getdial.ai" and .action=="block" and .agentId==$a and (.name | startswith("Dial: blocked for ")) and ((.pathPattern // "")=="") and ((.method // "")==""))) | .id // empty'); case ",$A," in *,"$gid",*) if [ -n "$rid" ]; then onecli rules delete --id "$rid" >/dev/null || { echo "could not remove the Dial block for $gname ($gid)" >&2; exit 1; }; fi; echo "allowed: $gname ($gid)";; *) if [ -z "$rid" ]; then onecli rules create --name "Dial: blocked for $gname" --host-pattern api.getdial.ai --action block --agent-id "$aid" --enabled >/dev/null || { echo "could not create the Dial block for $gname ($gid)" >&2; exit 1; }; else onecli rules update --id "$rid" --enabled true >/dev/null || { echo "could not re-enable the Dial block for $gname ($gid)" >&2; exit 1; }; fi; echo "blocked: $gname ($gid)";; esac; doneMerge secrets for selective agents
Secret lists are left alone, with one exception. An agent in selective mode only
gets the secrets on its list, so a chosen selective agent has the Dial secret
merged into it. onecli agents set-secrets switches an agent to selective mode,
so it is never called on an all-mode agent — that would silently cut the agent
off from every credential not on its list. Blocked agents keep their lists
untouched in either mode; the rule alone blocks:
A=$(printf '%s' '{{dial_agents}}' | tr -d ' '); case ",$A," in *,all,*) A=$(ncl groups list --json | jq -r '[.data[].id] | join(",")');; esac; S=$(onecli secrets list | jq -r 'first(.data[] | select(.name | test("(?i)dial"))) | .id // empty'); [ -n "$S" ] || { echo "no Dial secret in the OneCLI vault — the credential step above did not complete" >&2; exit 1; }; onecli agents list | jq -r '.data[] | select(.secretMode=="selective") | "\(.id)\t\(.identifier)"' | while IFS="$(printf '\t')" read -r aid gid; do case ",$A," in *,"$gid",*) onecli agents set-secrets --id "$aid" --secret-ids "$(onecli agents secrets --id "$aid" | jq -r --arg s "$S" '[.data[], $s] | unique | join(",")')" >/dev/null || { echo "could not add the Dial secret to $gid" >&2; exit 1; }; echo "Dial secret added to the list of $gid";; esac; doneHand the tool to running agents
container/skills/ is mounted read-only into every agent container, and each
group's .claude-shared/skills/ holds symlinks into that mount that are synced
when the container spawns — so nothing is copied per session. A running agent
keeps its old image until it respawns, so restart every group; without a
--message each one comes back on its next message, on the new image, with the
CLI on PATH and the skill in place. This is a restart effect, so it does not
fire after an earlier step bounced — agents keep the image they have until the
gap above is fixed and the skill is re-applied:
ncl groups list --json | jq -r '.data[].id' | while read -r gid; do ncl groups restart --id "$gid" >/dev/null || { echo "could not restart $gid" >&2; exit 1; }; doneDone
The chosen agents can now use Dial from inside their containers; the others are
blocked at the gateway. Auth is injected by OneCLI; a 403 blocked_by_policy
means the agent was not chosen (run /add-dial-tool again to change that); a
401 means the Dial secret needs (re)connecting — not a login. Verify from a
chat with a chosen agent: "run dial doctor" or "text +1… hi".
To uninstall: see REMOVE.md. To wire Dial as a messaging
channel too, run /add-dial.
Troubleshooting
command -v onecli fails. OneCLI is not installed or not on PATH. Run
/init-onecli, then re-run this skill.
ncl can't reach the host. The agent list and the scoping steps talk to the
running NanoClaw service. Start it (pnpm run dev, or restart the service) and
re-run.
unknown agent group. An id in your answer is not in ncl groups list. Copy
the ag-… id exactly; names are not accepted.
no Dial API key in the host auth file. The sign-in did not complete. Run
dial auth login <email> --force, then dial auth verify-otp --code <code>, and
re-run.
A chosen agent gets 401. The vault secret is stale (a different account's
key, or a rotated one). Re-run this skill — it always rewrites the secret with the
key the host is signed in with.
An agent you left out can still use Dial. It was created after the last run
(a new OneCLI agent starts in all mode with no rule). Re-run this skill; it
only touches the per-agent rules.
dial: command not found inside a container. The image predates the manifest
entry. Run ./container/build.sh, then ncl groups restart --id <group-id> so the
agent respawns on it.
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
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.

