[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R5F6WA8613XB7VZRM3WW95":3,"skill-same:01M6R5F6WA8613XB7VZRM3WW95":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":44,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6R5F6WA8613XB7VZRM3WW95","buttons",null,"Deterministic workflow engine for AI agents. Create and press\nreusable buttons (shell scripts, HTTP APIs, prompt instructions)\nwith typed inputs and structured JSON output. Use when wrapping\nrepeatable actions, calling HTTP endpoints, or building multi-step\nworkflows where each step is a named, typed, pressable button.","autonoco\u002Fbuttons","autonoco","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F204403401?v=4","01M6R5E6PXPE4A2HG451Q1M7KM","Autono","01M6R5E6TR6V0Q259HACB0B9JC",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuttons\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"install","when","http endpoints","for","scripts","deterministic","calling","installer","use","cli","shell scripts","JSON Output","actions","workflow engine","create","workflows","workflow","ai agents","go","2026-11-10 10:12:30",false,"---\nname: buttons\ndescription: |\n  Deterministic workflow engine for AI agents. Create and press\n  reusable buttons (shell scripts, HTTP APIs, prompt instructions)\n  with typed inputs and structured JSON output. Use when wrapping\n  repeatable actions, calling HTTP endpoints, or building multi-step\n  workflows where each step is a named, typed, pressable button.\nlicense: Apache-2.0\ncompatibility: Requires the buttons CLI binary installed (go install github.com\u002Fautonoco\u002Fbuttons@latest or curl installer).\nmetadata:\n  author: autonoco\n  repository: https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons\n---\n\n# Buttons CLI\n\nDeterministic workflow engine for AI agents. Create reusable, composable actions with typed inputs and structured JSON output.\n\n## When to use\n\n- Wrap a repeatable action (shell script, HTTP API call, prompt instruction) as a named, typed, pressable button\n- Get structured JSON output from shell commands or HTTP endpoints\n- Create self-documenting actions that other agents can discover and press\n- Build multi-step workflows where each step is a button with typed args\n\n## Quick reference\n\n```bash\n# Default: scaffold + edit + press. Creates main.sh with placeholder you edit.\nbuttons create deploy --arg env:string:required\n# → edit ~\u002F.buttons\u002Fbuttons\u002Fdeploy\u002Fmain.sh, then: buttons press deploy --arg env=staging\n\n# Shortcuts for known content (skip the scaffold):\nbuttons create greet --code 'echo \"Hello, $BUTTONS_ARG_NAME\"' --arg name:string:required\nbuttons create weather --url 'https:\u002F\u002Fwttr.in\u002F{{city}}?format=j1' --arg city:string:required\nbuttons create deploy-checklist --prompt \"Verify: tests pass, staging green, team notified\"\nbuttons create etl -f .\u002Fscripts\u002Ftransform.sh --arg source:string:required\n\n# Press buttons\nbuttons press weather --arg city=Miami\nbuttons press weather --arg city=Miami --json\nbuttons press deploy --dry-run\n\n# Discover and manage\nbuttons list\nbuttons weather              # detail view for a single button\nbuttons history weather\nbuttons delete weather\nbuttons version --json\n```\n\n## Commands\n\n### `buttons`\n\nDeterministic workflow engine for agents\n\n```\nbuttons [command]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--json` | bool | output in JSON format |\n| `--no-input` | bool | disable all interactive prompts |\n| `--summary` | bool | show a read-only plan\u002Fsnapshot instead of mutating |\n\n### `buttons add`\n\nAdd a registry package dependency\n\n```\nbuttons add [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--no-refresh` | bool | keep other floating (latest) dependencies at their locked versions |\n\n### `buttons agent`\n\nSet up this agent's identity and public URL\n\n```\nbuttons agent [command]\n```\n\n#### `buttons agent setup`\n\nRegister this agent under a slug and print its URLs (enrolls on first run)\n\n```\nbuttons agent setup [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--principal` | string | optional principal this agent serves |\n| `--tunnel` | string | tunnel id backing this agent (defaults to the named webhook tunnel) |\n\n#### `buttons agent status`\n\nShow this device's identity (no secrets)\n\n```\nbuttons agent status\n```\n\n### `buttons batteries`\n\nManage environment variables and secrets\n\n```\nbuttons batteries [command]\n```\n\n#### `buttons batteries get`\n\nPrint a battery value\n\n```\nbuttons batteries get\n```\n\n#### `buttons batteries list`\n\nList every battery\n\n```\nbuttons batteries list [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--reveal` | bool | print values in full instead of redacted |\n\n#### `buttons batteries rm`\n\nRemove a battery\n\n```\nbuttons batteries rm [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--global` | bool | target the global batteries file (~\u002F.buttons\u002Fbatteries.json) |\n| `--local` | bool | target the project-local batteries file (.buttons\u002Fbatteries.json) |\n\n#### `buttons batteries set`\n\nSet a battery\n\n```\nbuttons batteries set [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--global` | bool | target the global batteries file (~\u002F.buttons\u002Fbatteries.json) |\n| `--local` | bool | target the project-local batteries file (.buttons\u002Fbatteries.json) |\n\n### `buttons board`\n\nOpen the button board in a new terminal window\n\n```\nbuttons board [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--inline` | bool | render the board in the current terminal instead of spawning a new window |\n\n### `buttons config`\n\nRead and write per-user settings\n\n```\nbuttons config [command]\n```\n\n#### `buttons config set`\n\nSet a setting\n\n```\nbuttons config set\n```\n\n#### `buttons config unset`\n\nClear a setting (revert to built-in default)\n\n```\nbuttons config unset\n```\n\n### `buttons create`\n\nCreate a new button\n\n```\nbuttons create [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--allow-private-networks` | bool | allow --url buttons to reach private network addresses (localhost, 10\u002F8, 172.16\u002F12, 192.168\u002F16, 169.254\u002F16, IPv6 private ranges). Required for local dev targets. |\n| `--app` | string | create an app-kind button under apps\u002F from a git URL (cloned) or local path (copied) |\n| `--arg` | stringArray | argument definition (name:type:required|optional) |\n| `--body` | string | HTTP request body (supports {{arg}} templates) |\n| `--code` | string | inline script code (shortcut for one-liners) |\n| `-d, --description` | string | button description |\n| `-f, --file` | string | copy an existing script file into the button folder |\n| `--header` | stringArray | HTTP header as 'Key: Value' (repeatable) |\n| `--ignore` | bool | add this button to .buttons\u002F.gitignore so git won't track it (good for scratch\u002Ftest buttons) |\n| `--max-response-size` | string | max HTTP response body size for --url buttons (e.g. 10M, 1G). default: 10M |\n| `--method` | string | HTTP method for --url (default: GET) |\n| `--prompt` | string | prompt\u002Finstruction for the consuming agent (written to AGENTS.md) |\n| `--runtime` | string | code runtime: shell, bash, python, node (default: shell) |\n| `--timeout` | int | execution timeout in seconds |\n| `--url` | string | HTTP API endpoint URL (supports {{arg}} templates) |\n\n### `buttons delete`\n\nDelete a button\n\n```\nbuttons delete [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `-F, --force` | bool | delete without confirmation |\n\n### `buttons drawer`\n\nManage drawer workflows (chains of buttons)\n\n```\nbuttons drawer\n```\n\n### `buttons flow`\n\nButtons Flow — pressable boards for drawer_kind:flow\n\n```\nbuttons flow [command]\n```\n\n#### `buttons flow approve`\n\nApprove a gated transition\n\n```\nbuttons flow approve\n```\n\n#### `buttons flow ensure-buttons`\n\nInstall shared flow pipeline buttons for a provider\n\n```\nbuttons flow ensure-buttons [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--on` | string | provider: local|github |\n\n#### `buttons flow init`\n\nRegister triggers and prove a flow board presses\n\n```\nbuttons flow init [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--manager` | string | manager agent ref |\n| `--no-verify` | bool | skip proof press |\n| `--on` | string | provider: local|github |\n| `--worker` | string | worker agent ref |\n\n#### `buttons flow logs`\n\nRecent press history for a board\n\n```\nbuttons flow logs [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--failed` | bool | only failed presses |\n| `--limit` | int | max history entries |\n| `--task` | string | filter by task id (best-effort) |\n\n#### `buttons flow reject`\n\nReject a gated transition\n\n```\nbuttons flow reject [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--reason` | string | rejection reason |\n\n#### `buttons flow rm`\n\nRemove webhook trigger and schedule for a board\n\n```\nbuttons flow rm [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--purge` | bool | also delete local tasks |\n\n#### `buttons flow status`\n\nBoard status summary\n\n```\nbuttons flow status\n```\n\n#### `buttons flow task`\n\nTask CRUD against a board's provider\n\n```\nbuttons flow task [command]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--filter` | string | key=value filter (list) |\n\n### `buttons history`\n\nShow run history\n\n```\nbuttons history [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--last` | int | number of runs to show |\n\n### `buttons ignore`\n\nKeep a button or drawer out of git (writes .buttons\u002F.gitignore)\n\n```\nbuttons ignore\n```\n\n### `buttons import`\n\nCreate buttons from external sources (skill, code, url)\n\n```\nbuttons import [command]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--name` | string | override the generated button name (code\u002Furl) |\n| `-y, --yes` | bool | skip the confirmation prompt |\n\n#### `buttons import code`\n\nWrap a script file as a button\n\n```\nbuttons import code\n```\n\n#### `buttons import mcp`\n\nCreate buttons from an MCP server's tools (planned)\n\n```\nbuttons import mcp\n```\n\n#### `buttons import skill`\n\nCreate buttons from an AgentSkills skill directory\n\n```\nbuttons import skill\n```\n\n#### `buttons import url`\n\nCreate a button from a spec fetched over HTTP\n\n```\nbuttons import url\n```\n\n### `buttons init`\n\nInitialize a project-local .buttons directory\n\n```\nbuttons init [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--agent` | stringSlice | agent integrations to install (cursor,claude,cline,copilot,agents-md,openclaw,hermes); 'none' skips |\n\n### `buttons install`\n\nInstall packages from .buttons\u002Fbuttons.json\n\n```\nbuttons install\n```\n\n### `buttons list`\n\nList all buttons\n\n```\nbuttons list\n```\n\n### `buttons login`\n\nConnect this machine to the Buttons platform\n\n```\nbuttons login [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--desk` | string | Buttons console URL that hosts the authorization page |\n| `--no-browser` | bool | print the authorization URL instead of opening a browser |\n| `--registry` | string | registry base URL the token is issued for |\n\n### `buttons logout`\n\nDisconnect this machine from the Buttons platform\n\n```\nbuttons logout\n```\n\n### `buttons logs`\n\nView past runs for a button or tail the live progress stream\n\n```\nbuttons logs [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--failed` | bool | only return runs that failed |\n| `-f, --follow` | bool | stream the latest press's progress events live (agent-friendly, no TUI) |\n| `--limit` | int | max runs to return |\n\n### `buttons mcp`\n\nRun an MCP server over stdio (expose buttons to agents)\n\n```\nbuttons mcp [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--allow-create` | bool | expose the buttons_create tool (off by default) |\n\n### `buttons press`\n\nRun a button\n\n```\nbuttons press [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--arg` | stringArray | argument as key=value |\n| `--dry-run` | bool | show what would execute without running |\n| `-f, --follow` | bool | stream stdout\u002Fstderr to stderr as the press runs (final Result still goes to stdout) |\n| `--idempotency-key` | string | reuse the cached result for this key if present (cross-run dedup) |\n| `--idempotency-ttl` | duration | how long idempotency entries stay valid (e.g. 1h, 24h) |\n| `--timeout` | int | override timeout in seconds |\n\n### `buttons publish`\n\nPublish a local button or drawer to the registry\n\n```\nbuttons publish\n```\n\n### `buttons remove`\n\nRemove a registry package dependency\n\n```\nbuttons remove\n```\n\n### `buttons serve`\n\nRun a REST API server exposing buttons over HTTP\n\n```\nbuttons serve [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--allow-http-buttons` | bool | allow pressing http (outbound-request) buttons over the API (SSRF surface; off by default) |\n| `--api-key` | string | bearer key required on all endpoints (else the 'API_KEY' battery or $BUTTONS_API_KEY) |\n| `--host` | string | host\u002Finterface to bind (use 0.0.0.0 to expose; requires an API key) |\n| `--no-triggers` | bool | do not run the trigger engine (cron\u002Fwatch\u002Fwebhook) alongside the API |\n| `--port` | int | port to listen on |\n\n### `buttons smash`\n\nRun multiple buttons in parallel\n\n```\nbuttons smash [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--concurrency` | int | max buttons running at once (0 = NumCPU; hard cap 50) |\n| `--on-failure` | string | stop | continue |\n| `--timeout` | int | per-button timeout override (seconds) |\n\n### `buttons status`\n\nShow available CLI and package updates\n\n```\nbuttons status\n```\n\n### `buttons summary`\n\nPrint a workspace snapshot (buttons, drawers, recent runs)\n\n```\nbuttons summary [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--deep` | bool | inline full schemas + all recent runs |\n\n### `buttons tail`\n\nFollow the progress JSONL of a press\n\n```\nbuttons tail [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `-f, --follow` | bool | keep tailing as new lines arrive |\n\n### `buttons trigger`\n\nManage button triggers (cron, watch, webhook)\n\n```\nbuttons trigger [command]\n```\n\n#### `buttons trigger add`\n\nAdd a trigger to a button\n\n```\nbuttons trigger add [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--arg` | stringArray | argument key=value passed when the trigger fires (repeatable) |\n| `--cron` | bool | cron-scheduled trigger |\n| `--path` | string | file path to watch |\n| `--schedule` | string | cron schedule, 5-field (e.g. \"0 *\u002F6 * * *\") |\n| `--token` | string | shared secret required on webhook POSTs (X-Buttons-Token or ?token=) |\n| `--watch` | bool | file-watch trigger |\n| `--webhook` | bool | webhook (HTTP POST) trigger |\n| `--webhook-path` | string | URL path for the webhook (e.g. \u002Fhooks\u002Fdeploy) |\n\n#### `buttons trigger list`\n\nList triggers (all buttons, or one)\n\n```\nbuttons trigger list\n```\n\n#### `buttons trigger rm`\n\nRemove a trigger from a button\n\n```\nbuttons trigger rm\n```\n\n### `buttons unignore`\n\nRe-include a previously-ignored button or drawer in git\n\n```\nbuttons unignore\n```\n\n### `buttons update`\n\nUpdate the CLI and floating package dependencies\n\n```\nbuttons update\n```\n\n### `buttons version`\n\nPrint build version, commit, and date\n\n```\nbuttons version\n```\n\n### `buttons webhook`\n\nExpose a local URL via Cloudflare to receive webhook callbacks\n\n```\nbuttons webhook [command]\n```\n\n#### `buttons webhook listen`\n\nRun the webhook listener — presses drawers when trigger paths are hit\n\n```\nbuttons webhook listen [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--no-tunnel` | bool | skip cloudflared; listen on 127.0.0.1 only (local testing) |\n| `--port` | int | bind local listener on this port (0 = random) |\n\n#### `buttons webhook logout`\n\nClear named-tunnel config (falls back to quick mode)\n\n```\nbuttons webhook logout\n```\n\n#### `buttons webhook setup`\n\nOne-time Cloudflare login + named-tunnel config\n\n```\nbuttons webhook setup [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--allow-apex` | bool | allow an apex hostname (e.g. example.com); DANGEROUS — overrides root DNS |\n| `--api-account-id` | string | pin the CF account id when the token is authorized on several |\n| `--api-token` | string | Cloudflare API token (recommended); or set $BUTTONS_CF_API_TOKEN |\n| `--hostname` | string | hostname for webhooks (e.g. webhooks.yourdomain.com) |\n| `--overwrite-dns` | bool | replace any pre-existing Cloudflare DNS record at the hostname; DESTRUCTIVE |\n| `--tunnel` | string | Cloudflare tunnel name |\n\n#### `buttons webhook status`\n\nShow current webhook mode and URL\n\n```\nbuttons webhook status\n```\n\n#### `buttons webhook test`\n\nRound-trip verify: spin up a tunnel, self-POST, observe delivery\n\n```\nbuttons webhook test\n```\n\n## JSON output contract\n\nEvery command supports `--json`. Piped\u002Fnon-TTY output auto-detects and switches to JSON.\n\nSuccess:\n```json\n{\"ok\": true, \"data\": { ... }}\n```\n\nError:\n```json\n{\"ok\": false, \"error\": {\"code\": \"NOT_FOUND\", \"message\": \"button not found: deploy\"}}\n```\n\nError codes: `NOT_FOUND`, `MISSING_ARG`, `VALIDATION_ERROR`, `TIMEOUT`, `SCRIPT_ERROR`, `RUNTIME_MISSING`, `INTERNAL_ERROR`, `NOT_IMPLEMENTED`.\n\n## Argument types\n\nDefine at create time: `--arg name:type:required|optional`\n\n| Type | Values | Example |\n|------|--------|---------|\n| `string` | Any text | `--arg city:string:required` |\n| `int` | Integer | `--arg count:int:optional` |\n| `bool` | `true`\u002F`false`\u002F`1`\u002F`0` | `--arg verbose:bool:optional` |\n\nPass at press time: `--arg key=value`\n\n- **Code buttons:** args become `BUTTONS_ARG_\u003CNAME>` environment variables\n- **HTTP buttons:** args substitute into `{{arg}}` URL\u002Fbody templates (context-aware encoded)\n\n## Button sources\n\n`buttons create \u003Cname>` scaffolds a shell button with a placeholder `main.sh` the agent edits, then presses. Use a shortcut flag to skip the scaffold:\n\n| Flag | Source | Runtime |\n|------|--------|--------|\n| (none) | Scaffold `main.\u003Cext>` with shebang + TODO | `--runtime shell\\|bash\\|python\\|node` (default: shell) |\n| `--code` | Inline script body (one-liners) | Same as above |\n| `-f`\u002F`--file` | Existing script file (copied into button folder) | Detected from shebang |\n| `--url` | HTTP endpoint with `{{arg}}` templates | HTTP client |\n| `--prompt` | Instruction for the consuming agent | Returns text, no execution |\n\n`--prompt` can be combined with any other source as a modifier.\n\n## Common patterns\n\n### Create, press, inspect lifecycle\n```bash\nbuttons create check-health --url 'https:\u002F\u002Fapi.example.com\u002Fhealth' -d \"Health check\"\nbuttons press check-health --json\nbuttons check-health         # detail view: args, last run, usage examples\nbuttons history check-health  # all past runs\n```\n\n### Code button with prompt context\n```bash\nbuttons create check-logs \\\n  --code 'tail -100 \u002Fvar\u002Flog\u002Fapp.log' \\\n  --prompt \"Summarize any errors or warnings from these logs\"\n```\n\nThe `prompt` field appears in `--json` output so the calling agent knows what to do with the stdout.\n\n### HTTP button hitting a local dev server\n```bash\nbuttons create local-api \\\n  --url 'http:\u002F\u002Flocalhost:3000\u002Fapi\u002F{{endpoint}}' \\\n  --arg endpoint:string:required \\\n  --allow-private-networks\n```\n\n`--allow-private-networks` is required for localhost\u002Fprivate-IP targets (blocked by default for SSRF protection).\n\n## Storage\n\nAll data lives under `~\u002F.buttons\u002F` (override with `BUTTONS_HOME`):\n\n```\n~\u002F.buttons\u002Fbuttons\u002F\u003Cname>\u002F\n  button.json     # spec (args, runtime, timeout)\n  main.sh         # code file (.sh, .py, .js)\n  AGENTS.md        # prompt instruction\n  pressed\u002F        # run history as JSON files\n```\n","# Buttons CLI\n\nDeterministic workflow engine for AI agents. Create reusable, composable actions with typed inputs and structured JSON output.\n\n## When to use\n\n- Wrap a repeatable action (shell script, HTTP API call, prompt instruction) as a named, typed, pressable button\n- Get structured JSON output from shell commands or HTTP endpoints\n- Create self-documenting actions that other agents can discover and press\n- Build multi-step workflows where each step is a button with typed args\n\n## Quick reference\n\n```bash\n# Default: scaffold + edit + press. Creates main.sh with placeholder you edit.\nbuttons create deploy --arg env:string:required\n# → edit ~\u002F.buttons\u002Fbuttons\u002Fdeploy\u002Fmain.sh, then: buttons press deploy --arg env=staging\n\n# Shortcuts for known content (skip the scaffold):\nbuttons create greet --code 'echo \"Hello, $BUTTONS_ARG_NAME\"' --arg name:string:required\nbuttons create weather --url 'https:\u002F\u002Fwttr.in\u002F{{city}}?format=j1' --arg city:string:required\nbuttons create deploy-checklist --prompt \"Verify: tests pass, staging green, team notified\"\nbuttons create etl -f .\u002Fscripts\u002Ftransform.sh --arg source:string:required\n\n# Press buttons\nbuttons press weather --arg city=Miami\nbuttons press weather --arg city=Miami --json\nbuttons press deploy --dry-run\n\n# Discover and manage\nbuttons list\nbuttons weather              # detail view for a single button\nbuttons history weather\nbuttons delete weather\nbuttons version --json\n```\n\n## Commands\n\n### `buttons`\n\nDeterministic workflow engine for agents\n\n```\nbuttons [command]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--json` | bool | output in JSON format |\n| `--no-input` | bool | disable all interactive prompts |\n| `--summary` | bool | show a read-only plan\u002Fsnapshot instead of mutating |\n\n### `buttons add`\n\nAdd a registry package dependency\n\n```\nbuttons add [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--no-refresh` | bool | keep other floating (latest) dependencies at their locked versions |\n\n### `buttons agent`\n\nSet up this agent's identity and public URL\n\n```\nbuttons agent [command]\n```\n\n#### `buttons agent setup`\n\nRegister this agent under a slug and print its URLs (enrolls on first run)\n\n```\nbuttons agent setup [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--principal` | string | optional principal this agent serves |\n| `--tunnel` | string | tunnel id backing this agent (defaults to the named webhook tunnel) |\n\n#### `buttons agent status`\n\nShow this device's identity (no secrets)\n\n```\nbuttons agent status\n```\n\n### `buttons batteries`\n\nManage environment variables and secrets\n\n```\nbuttons batteries [command]\n```\n\n#### `buttons batteries get`\n\nPrint a battery value\n\n```\nbuttons batteries get\n```\n\n#### `buttons batteries list`\n\nList every battery\n\n```\nbuttons batteries list [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--reveal` | bool | print values in full instead of redacted |\n\n#### `buttons batteries rm`\n\nRemove a battery\n\n```\nbuttons batteries rm [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--global` | bool | target the global batteries file (~\u002F.buttons\u002Fbatteries.json) |\n| `--local` | bool | target the project-local batteries file (.buttons\u002Fbatteries.json) |\n\n#### `buttons batteries set`\n\nSet a battery\n\n```\nbuttons batteries set [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--global` | bool | target the global batteries file (~\u002F.buttons\u002Fbatteries.json) |\n| `--local` | bool | target the project-local batteries file (.buttons\u002Fbatteries.json) |\n\n### `buttons board`\n\nOpen the button board in a new terminal window\n\n```\nbuttons board [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--inline` | bool | render the board in the current terminal instead of spawning a new window |\n\n### `buttons config`\n\nRead and write per-user settings\n\n```\nbuttons config [command]\n```\n\n#### `buttons config set`\n\nSet a setting\n\n```\nbuttons config set\n```\n\n#### `buttons config unset`\n\nClear a setting (revert to built-in default)\n\n```\nbuttons config unset\n```\n\n### `buttons create`\n\nCreate a new button\n\n```\nbuttons create [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--allow-private-networks` | bool | allow --url buttons to reach private network addresses (localhost, 10\u002F8, 172.16\u002F12, 192.168\u002F16, 169.254\u002F16, IPv6 private ranges). Required for local dev targets. |\n| `--app` | string | create an app-kind button under apps\u002F from a git URL (cloned) or local path (copied) |\n| `--arg` | stringArray | argument definition (name:type:required|optional) |\n| `--body` | string | HTTP request body (supports {{arg}} templates) |\n| `--code` | string | inline script code (shortcut for one-liners) |\n| `-d, --description` | string | button description |\n| `-f, --file` | string | copy an existing script file into the button folder |\n| `--header` | stringArray | HTTP header as 'Key: Value' (repeatable) |\n| `--ignore` | bool | add this button to .buttons\u002F.gitignore so git won't track it (good for scratch\u002Ftest buttons) |\n| `--max-response-size` | string | max HTTP response body size for --url buttons (e.g. 10M, 1G). default: 10M |\n| `--method` | string | HTTP method for --url (default: GET) |\n| `--prompt` | string | prompt\u002Finstruction for the consuming agent (written to AGENTS.md) |\n| `--runtime` | string | code runtime: shell, bash, python, node (default: shell) |\n| `--timeout` | int | execution timeout in seconds |\n| `--url` | string | HTTP API endpoint URL (supports {{arg}} templates) |\n\n### `buttons delete`\n\nDelete a button\n\n```\nbuttons delete [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `-F, --force` | bool | delete without confirmation |\n\n### `buttons drawer`\n\nManage drawer workflows (chains of buttons)\n\n```\nbuttons drawer\n```\n\n### `buttons flow`\n\nButtons Flow — pressable boards for drawer_kind:flow\n\n```\nbuttons flow [command]\n```\n\n#### `buttons flow approve`\n\nApprove a gated transition\n\n```\nbuttons flow approve\n```\n\n#### `buttons flow ensure-buttons`\n\nInstall shared flow pipeline buttons for a provider\n\n```\nbuttons flow ensure-buttons [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--on` | string | provider: local|github |\n\n#### `buttons flow init`\n\nRegister triggers and prove a flow board presses\n\n```\nbuttons flow init [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--manager` | string | manager agent ref |\n| `--no-verify` | bool | skip proof press |\n| `--on` | string | provider: local|github |\n| `--worker` | string | worker agent ref |\n\n#### `buttons flow logs`\n\nRecent press history for a board\n\n```\nbuttons flow logs [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--failed` | bool | only failed presses |\n| `--limit` | int | max history entries |\n| `--task` | string | filter by task id (best-effort) |\n\n#### `buttons flow reject`\n\nReject a gated transition\n\n```\nbuttons flow reject [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--reason` | string | rejection reason |\n\n#### `buttons flow rm`\n\nRemove webhook trigger and schedule for a board\n\n```\nbuttons flow rm [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--purge` | bool | also delete local tasks |\n\n#### `buttons flow status`\n\nBoard status summary\n\n```\nbuttons flow status\n```\n\n#### `buttons flow task`\n\nTask CRUD against a board's provider\n\n```\nbuttons flow task [command]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--filter` | string | key=value filter (list) |\n\n### `buttons history`\n\nShow run history\n\n```\nbuttons history [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--last` | int | number of runs to show |\n\n### `buttons ignore`\n\nKeep a button or drawer out of git (writes .buttons\u002F.gitignore)\n\n```\nbuttons ignore\n```\n\n### `buttons import`\n\nCreate buttons from external sources (skill, code, url)\n\n```\nbuttons import [command]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--name` | string | override the generated button name (code\u002Furl) |\n| `-y, --yes` | bool | skip the confirmation prompt |\n\n#### `buttons import code`\n\nWrap a script file as a button\n\n```\nbuttons import code\n```\n\n#### `buttons import mcp`\n\nCreate buttons from an MCP server's tools (planned)\n\n```\nbuttons import mcp\n```\n\n#### `buttons import skill`\n\nCreate buttons from an AgentSkills skill directory\n\n```\nbuttons import skill\n```\n\n#### `buttons import url`\n\nCreate a button from a spec fetched over HTTP\n\n```\nbuttons import url\n```\n\n### `buttons init`\n\nInitialize a project-local .buttons directory\n\n```\nbuttons init [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--agent` | stringSlice | agent integrations to install (cursor,claude,cline,copilot,agents-md,openclaw,hermes); 'none' skips |\n\n### `buttons install`\n\nInstall packages from .buttons\u002Fbuttons.json\n\n```\nbuttons install\n```\n\n### `buttons list`\n\nList all buttons\n\n```\nbuttons list\n```\n\n### `buttons login`\n\nConnect this machine to the Buttons platform\n\n```\nbuttons login [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--desk` | string | Buttons console URL that hosts the authorization page |\n| `--no-browser` | bool | print the authorization URL instead of opening a browser |\n| `--registry` | string | registry base URL the token is issued for |\n\n### `buttons logout`\n\nDisconnect this machine from the Buttons platform\n\n```\nbuttons logout\n```\n\n### `buttons logs`\n\nView past runs for a button or tail the live progress stream\n\n```\nbuttons logs [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--failed` | bool | only return runs that failed |\n| `-f, --follow` | bool | stream the latest press's progress events live (agent-friendly, no TUI) |\n| `--limit` | int | max runs to return |\n\n### `buttons mcp`\n\nRun an MCP server over stdio (expose buttons to agents)\n\n```\nbuttons mcp [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--allow-create` | bool | expose the buttons_create tool (off by default) |\n\n### `buttons press`\n\nRun a button\n\n```\nbuttons press [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--arg` | stringArray | argument as key=value |\n| `--dry-run` | bool | show what would execute without running |\n| `-f, --follow` | bool | stream stdout\u002Fstderr to stderr as the press runs (final Result still goes to stdout) |\n| `--idempotency-key` | string | reuse the cached result for this key if present (cross-run dedup) |\n| `--idempotency-ttl` | duration | how long idempotency entries stay valid (e.g. 1h, 24h) |\n| `--timeout` | int | override timeout in seconds |\n\n### `buttons publish`\n\nPublish a local button or drawer to the registry\n\n```\nbuttons publish\n```\n\n### `buttons remove`\n\nRemove a registry package dependency\n\n```\nbuttons remove\n```\n\n### `buttons serve`\n\nRun a REST API server exposing buttons over HTTP\n\n```\nbuttons serve [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--allow-http-buttons` | bool | allow pressing http (outbound-request) buttons over the API (SSRF surface; off by default) |\n| `--api-key` | string | bearer key required on all endpoints (else the 'API_KEY' battery or $BUTTONS_API_KEY) |\n| `--host` | string | host\u002Finterface to bind (use 0.0.0.0 to expose; requires an API key) |\n| `--no-triggers` | bool | do not run the trigger engine (cron\u002Fwatch\u002Fwebhook) alongside the API |\n| `--port` | int | port to listen on |\n\n### `buttons smash`\n\nRun multiple buttons in parallel\n\n```\nbuttons smash [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--concurrency` | int | max buttons running at once (0 = NumCPU; hard cap 50) |\n| `--on-failure` | string | stop | continue |\n| `--timeout` | int | per-button timeout override (seconds) |\n\n### `buttons status`\n\nShow available CLI and package updates\n\n```\nbuttons status\n```\n\n### `buttons summary`\n\nPrint a workspace snapshot (buttons, drawers, recent runs)\n\n```\nbuttons summary [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--deep` | bool | inline full schemas + all recent runs |\n\n### `buttons tail`\n\nFollow the progress JSONL of a press\n\n```\nbuttons tail [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `-f, --follow` | bool | keep tailing as new lines arrive |\n\n### `buttons trigger`\n\nManage button triggers (cron, watch, webhook)\n\n```\nbuttons trigger [command]\n```\n\n#### `buttons trigger add`\n\nAdd a trigger to a button\n\n```\nbuttons trigger add [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--arg` | stringArray | argument key=value passed when the trigger fires (repeatable) |\n| `--cron` | bool | cron-scheduled trigger |\n| `--path` | string | file path to watch |\n| `--schedule` | string | cron schedule, 5-field (e.g. \"0 *\u002F6 * * *\") |\n| `--token` | string | shared secret required on webhook POSTs (X-Buttons-Token or ?token=) |\n| `--watch` | bool | file-watch trigger |\n| `--webhook` | bool | webhook (HTTP POST) trigger |\n| `--webhook-path` | string | URL path for the webhook (e.g. \u002Fhooks\u002Fdeploy) |\n\n#### `buttons trigger list`\n\nList triggers (all buttons, or one)\n\n```\nbuttons trigger list\n```\n\n#### `buttons trigger rm`\n\nRemove a trigger from a button\n\n```\nbuttons trigger rm\n```\n\n### `buttons unignore`\n\nRe-include a previously-ignored button or drawer in git\n\n```\nbuttons unignore\n```\n\n### `buttons update`\n\nUpdate the CLI and floating package dependencies\n\n```\nbuttons update\n```\n\n### `buttons version`\n\nPrint build version, commit, and date\n\n```\nbuttons version\n```\n\n### `buttons webhook`\n\nExpose a local URL via Cloudflare to receive webhook callbacks\n\n```\nbuttons webhook [command]\n```\n\n#### `buttons webhook listen`\n\nRun the webhook listener — presses drawers when trigger paths are hit\n\n```\nbuttons webhook listen [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--no-tunnel` | bool | skip cloudflared; listen on 127.0.0.1 only (local testing) |\n| `--port` | int | bind local listener on this port (0 = random) |\n\n#### `buttons webhook logout`\n\nClear named-tunnel config (falls back to quick mode)\n\n```\nbuttons webhook logout\n```\n\n#### `buttons webhook setup`\n\nOne-time Cloudflare login + named-tunnel config\n\n```\nbuttons webhook setup [flags]\n```\n\n| Flag | Type | Description |\n|------|------|-------------|\n| `--allow-apex` | bool | allow an apex hostname (e.g. example.com); DANGEROUS — overrides root DNS |\n| `--api-account-id` | string | pin the CF account id when the token is authorized on several |\n| `--api-token` | string | Cloudflare API token (recommended); or set $BUTTONS_CF_API_TOKEN |\n| `--hostname` | string | hostname for webhooks (e.g. webhooks.yourdomain.com) |\n| `--overwrite-dns` | bool | replace any pre-existing Cloudflare DNS record at the hostname; DESTRUCTIVE |\n| `--tunnel` | string | Cloudflare tunnel name |\n\n#### `buttons webhook status`\n\nShow current webhook mode and URL\n\n```\nbuttons webhook status\n```\n\n#### `buttons webhook test`\n\nRound-trip verify: spin up a tunnel, self-POST, observe delivery\n\n```\nbuttons webhook test\n```\n\n## JSON output contract\n\nEvery command supports `--json`. Piped\u002Fnon-TTY output auto-detects and switches to JSON.\n\nSuccess:\n```json\n{\"ok\": true, \"data\": { ... }}\n```\n\nError:\n```json\n{\"ok\": false, \"error\": {\"code\": \"NOT_FOUND\", \"message\": \"button not found: deploy\"}}\n```\n\nError codes: `NOT_FOUND`, `MISSING_ARG`, `VALIDATION_ERROR`, `TIMEOUT`, `SCRIPT_ERROR`, `RUNTIME_MISSING`, `INTERNAL_ERROR`, `NOT_IMPLEMENTED`.\n\n## Argument types\n\nDefine at create time: `--arg name:type:required|optional`\n\n| Type | Values | Example |\n|------|--------|---------|\n| `string` | Any text | `--arg city:string:required` |\n| `int` | Integer | `--arg count:int:optional` |\n| `bool` | `true`\u002F`false`\u002F`1`\u002F`0` | `--arg verbose:bool:optional` |\n\nPass at press time: `--arg key=value`\n\n- **Code buttons:** args become `BUTTONS_ARG_\u003CNAME>` environment variables\n- **HTTP buttons:** args substitute into `{{arg}}` URL\u002Fbody templates (context-aware encoded)\n\n## Button sources\n\n`buttons create \u003Cname>` scaffolds a shell button with a placeholder `main.sh` the agent edits, then presses. Use a shortcut flag to skip the scaffold:\n\n| Flag | Source | Runtime |\n|------|--------|--------|\n| (none) | Scaffold `main.\u003Cext>` with shebang + TODO | `--runtime shell\\|bash\\|python\\|node` (default: shell) |\n| `--code` | Inline script body (one-liners) | Same as above |\n| `-f`\u002F`--file` | Existing script file (copied into button folder) | Detected from shebang |\n| `--url` | HTTP endpoint with `{{arg}}` templates | HTTP client |\n| `--prompt` | Instruction for the consuming agent | Returns text, no execution |\n\n`--prompt` can be combined with any other source as a modifier.\n\n## Common patterns\n\n### Create, press, inspect lifecycle\n```bash\nbuttons create check-health --url 'https:\u002F\u002Fapi.example.com\u002Fhealth' -d \"Health check\"\nbuttons press check-health --json\nbuttons check-health         # detail view: args, last run, usage examples\nbuttons history check-health  # all past runs\n```\n\n### Code button with prompt context\n```bash\nbuttons create check-logs \\\n  --code 'tail -100 \u002Fvar\u002Flog\u002Fapp.log' \\\n  --prompt \"Summarize any errors or warnings from these logs\"\n```\n\nThe `prompt` field appears in `--json` output so the calling agent knows what to do with the stdout.\n\n### HTTP button hitting a local dev server\n```bash\nbuttons create local-api \\\n  --url 'http:\u002F\u002Flocalhost:3000\u002Fapi\u002F{{endpoint}}' \\\n  --arg endpoint:string:required \\\n  --allow-private-networks\n```\n\n`--allow-private-networks` is required for localhost\u002Fprivate-IP targets (blocked by default for SSRF protection).\n\n## Storage\n\nAll data lives under `~\u002F.buttons\u002F` (override with `BUTTONS_HOME`):\n\n```\n~\u002F.buttons\u002Fbuttons\u002F\u003Cname>\u002F\n  button.json     # spec (args, runtime, timeout)\n  main.sh         # code file (.sh, .py, .js)\n  AGENTS.md        # prompt instruction\n  pressed\u002F        # run history as JSON files\n```\n",{"name":5,"license":15,"metadata":43,"description":45,"compatibility":46},{"author":9,"repository":44},"https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons","Deterministic workflow engine for AI agents. Create and press\nreusable buttons (shell scripts, HTTP APIs, prompt instructions)\nwith typed inputs and structured JSON output. Use when wrapping\nrepeatable actions, calling HTTP endpoints, or building multi-step\nworkflows where each step is a named, typed, pressable button.\n","Requires the buttons CLI binary installed (go install github.com\u002Fautonoco\u002Fbuttons@latest or curl installer).","main","97949250d40e4763497bf61d24e9119a7d6a4766",".agents\u002Fskills\u002Fbuttons",0,"https:\u002F\u002Fdocs.buttons.sh","https:\u002F\u002Fgithub.com\u002Fautonoco","autono.co","2026-09-15 00:06:16",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add autonoco\u002Fbuttons --skill buttons",{"tool":61,"command":62},"bunx","bunx skills add autonoco\u002Fbuttons --skill buttons",{"tool":64,"command":65},"pnpm","pnpm dlx skills add autonoco\u002Fbuttons --skill buttons","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbuttons\u002FSKILL.md",true,[],[70,75,97,102,124,145],{"skillNo":71,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":38},"01M6R5GQ3Y6S8MYQ0AADV6ECK7","https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons\u002Fblob\u002Fmain\u002Fdocs\u002F.mintlify\u002Fskills\u002Fbuttons\u002FSKILL.md",[],[5],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":38},"01M6R5GGJ5A1G8HY5WQEJ80V0D","mintlify","Build and maintain documentation sites with Mintlify. Use when creating docs pages, configuring navigation, adding components, or setting up API references.","MIT","https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmintlify\u002FSKILL.md",[],[77,28,83,35,84,85,86,87,88,27,89,90,91,92,93,94,95,22,96,20],"docs","components","documentation","git","api","node","up","references","build","maintain","pages","sites","with","maintain documentation",{"skillNo":98,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":38},"01M6R5G4TTCNC9MPE2WDG3KV8F","https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmintlify-docs\u002FSKILL.md",[],[77,28,83,35,84,85,86,87,88,27,89,90,91,92,93,94,95,22,96,20],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":38},"01M6R5FXMGBM2YXZVQH6RQRYPD","cobra","Build Go CLI applications with Cobra framework. Covers command structure, flags (local\u002Fpersistent\u002Frequired), hooks (PreRun\u002FPostRun), shell completions, Viper config integration, error handling, and doc generation.\nUse when: building Go CLIs, adding Cobra commands or subcommands, working with flags, generating shell completions, or troubleshooting \"unknown command\" or flag parsing errors.","https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcobra\u002FSKILL.md",[],[104,28,37,109,110,111,112,113,114,27,115,116,117,118,119,120,121,122,123,20],"config","framework","doc","applications","parsing","command","hooks","flags","structure","local","commands","error","errors","unknown","viper",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":38},"01M6R5FH15DGZVK8SSJGGJQ7A2","cli-design-guidelines","Design human-first CLI tools following clig.dev best practices. Covers help text, output formatting, error handling, flags\u002Fargs, subcommands, interactivity, configuration, signals, naming, and distribution.\nUse when: building CLI tools, designing command interfaces, adding flags or subcommands, writing help text, formatting CLI output, handling CLI errors, or reviewing CLI UX.","https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcli-design-guidelines\u002FSKILL.md",[],[131,28,132,133,134,135,136,137,138,139,114,27,140,141,120,142,143,121,144,20],"design","guidelines","cli design guidelines","writing","error handling","best practices","dev","first","text","signals","distribution","output","naming","output formatting",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":38},"01M6R5EQBB77D0HH6MEBFR3HGE","bubble-tea","Build terminal UIs in Go with Bubble Tea v2 (Elm Architecture). Covers Model\u002FUpdate\u002FView lifecycle, commands (Batch, Sequence, Tick), key\u002Fmouse handling, Program options, and Charm ecosystem (Bubbles, Lip Gloss, Huh).\nUse when: building Go TUI apps, creating terminal interfaces, handling keyboard\u002Fmouse input in TUI, using Bubble Tea or Charm libraries, or troubleshooting \"tea.Model\" or \"tea.Cmd\" issues.","https:\u002F\u002Fgithub.com\u002Fautonoco\u002Fbuttons\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbubble-tea\u002FSKILL.md",[],[152,153,154,37,155,156,157,158,159,160,161,119,162,163,164,165,166,167,168,20],"tea","bubble tea","terminal","architecture","libraries","update","issues","batch","model","options","charm","huh","apps","keyboard","input","ecosystem","sequence"]