Skip to content

nanocoai/nanoclaw / .claude/skills/add-dial-tool

add-dial-tool

Verified

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, attached only to the agents you pick, so they 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.

FileKindSize
REMOVE.mdmarkdown2.4 KB
SKILL.mdskill md17.7 KB
apply-fixtures.jsonconfig2.5 KB
scripts/dial-secret.test.tsscript8.2 KB
scripts/dial-secret.tsscript4.6 KB

apply-fixtures.json

View on GitHub
{
  "notes": "Conformance fixtures for scripts/skill-conformance.test.ts \u2014 shaped fake values only, never real credentials. Two scenarios cover the sign-in branches: (1) host already signed in (connected_email read from `dial doctor`), (2) not signed in \u2192 email + OTP. The `check-grants-gateway.sh` stub answers onecli_gateway (1.45.0, the pinned line; the shared gate also checks that no agent is in all mode); the `package.json` stub answers dial_ua; the `(.data|length)==0` stub (the agent-list capture's jq) answers agent_groups; the `unknown agent group` stub (the checked selection) answers dial_scope; `dial doctor` answers signed_in/connected_email. The `dial-secret.ts` stub answers dial_secret (the stored secret id); the attach step runs against the stubbed exec and captures nothing.",
  "scenarios": [
    {
      "name": "signed-in-pick-one",
      "inputs": {
        "dial_agents": "ag-11111111-1111-1111-1111-111111111111"
      },
      "exec": [
        {
          "match": "check-grants-gateway.sh",
          "stdout": "1.45.0"
        },
        {
          "match": "package.json",
          "stdout": "nanoclaw/2.2.0"
        },
        {
          "match": "(.data|length)==0",
          "stdout": "ag-11111111-1111-1111-1111-111111111111 (Sales), ag-22222222-2222-2222-2222-222222222222 (Support)"
        },
        {
          "match": "unknown agent group",
          "stdout": "ag-11111111-1111-1111-1111-111111111111"
        },
        {
          "match": "dial doctor",
          "stdout": "{\"auth\":{\"signedIn\":true,\"email\":\"operator@example.com\"}}"
        },
        {
          "match": "dial-secret.ts",
          "stdout": "sec-11111111"
        }
      ]
    },
    {
      "name": "fresh-signup-all",
      "inputs": {
        "dial_agents": "all",
        "owner_email": "operator@example.com",
        "otp": "123456"
      },
      "exec": [
        {
          "match": "check-grants-gateway.sh",
          "stdout": "1.45.0"
        },
        {
          "match": "package.json",
          "stdout": "nanoclaw/2.2.0"
        },
        {
          "match": "(.data|length)==0",
          "stdout": "ag-11111111-1111-1111-1111-111111111111 (Sales)"
        },
        {
          "match": "unknown agent group",
          "stdout": "all"
        },
        {
          "match": "dial doctor",
          "stdout": "{\"auth\":{\"signedIn\":false}}"
        },
        {
          "match": "dial-secret.ts",
          "stdout": "sec-11111111"
        }
      ]
    }
  ]
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall