{"id":42123912,"url":"https://github.com/haasonsaas/clawdbot-approvals","last_synced_at":"2026-01-26T15:03:04.816Z","repository":{"id":333731841,"uuid":"1138479161","full_name":"haasonsaas/clawdbot-approvals","owner":"haasonsaas","description":"Clawdbot plugin for action approvals - propose, review, and execute actions safely","archived":false,"fork":false,"pushed_at":"2026-01-20T20:11:39.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-21T03:50:03.762Z","etag":null,"topics":["approvals","automation","clawdbot","clawdbot-plugin","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haasonsaas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-20T18:15:27.000Z","updated_at":"2026-01-20T20:11:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/haasonsaas/clawdbot-approvals","commit_stats":null,"previous_names":["haasonsaas/clawdbot-approvals"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/haasonsaas/clawdbot-approvals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haasonsaas%2Fclawdbot-approvals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haasonsaas%2Fclawdbot-approvals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haasonsaas%2Fclawdbot-approvals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haasonsaas%2Fclawdbot-approvals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haasonsaas","download_url":"https://codeload.github.com/haasonsaas/clawdbot-approvals/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haasonsaas%2Fclawdbot-approvals/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28781308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["approvals","automation","clawdbot","clawdbot-plugin","typescript"],"created_at":"2026-01-26T15:03:03.811Z","updated_at":"2026-01-26T15:03:04.807Z","avatar_url":"https://github.com/haasonsaas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clawdbot-approvals\n\nClawdbot plugin for action approvals - propose, review, and execute actions safely.\n\n## Install\n\nAdd to your `~/.clawdbot/clawdbot.json`:\n\n```json\n{\n  \"plugins\": {\n    \"load\": {\n      \"paths\": [\"/path/to/clawdbot-approvals\"]\n    },\n    \"entries\": {\n      \"approvals\": {\n        \"enabled\": true\n      }\n    }\n  },\n  \"agents\": {\n    \"list\": [\n      {\n        \"id\": \"main\",\n        \"tools\": {\n          \"allowPlugins\": [\"approvals\"]\n        }\n      }\n    ]\n  }\n}\n```\n\nThen restart the gateway.\n\n## Usage\n\n### CLI Commands\n\n```sh\n# List pending approvals\nclawdbot approve list\nclawdbot approve list --all      # Include completed/expired\n\n# Approve and execute (single or multiple)\nclawdbot approve yes \u003cid\u003e\nclawdbot approve yes \u003cid1\u003e \u003cid2\u003e \u003cid3\u003e\nclawdbot approve yes all         # Approve all pending\n\n# Deny\nclawdbot approve no \u003cid\u003e\n\n# Show details\nclawdbot approve show \u003cid\u003e\n\n# Clean old approvals\nclawdbot approve clean --days 7\n```\n\n### Agent Tool\n\nClawd can use the `approvals` tool with these actions:\n\n```\naction=\"propose\"           Create a new approval request\naction=\"list\"              List pending approvals\naction=\"check\"             Check status of specific approval\naction=\"approve\"           Mark approval as approved\naction=\"deny\"              Mark approval as denied\naction=\"execute\"           Execute an approved action\naction=\"approveAndExecute\" Approve and execute in one call (recommended)\naction=\"batch\"             Approve and execute multiple at once\naction=\"clean\"             Remove old completed/expired approvals\n```\n\n### Example Flow\n\n1. Cron job proposes an action:\n   ```\n   approvals(action=\"propose\", summary=\"Archive 37 promo emails\", commands=[\"gog gmail thread X --archive\", ...])\n   ```\n\n2. Clawd sends message to user:\n   ```\n   **Approval needed: `A7K3`**\n   Archive 37 promo emails\n\n   Reply `approve A7K3` or `deny A7K3`\n   Expires: 10:15am (2 hours)\n   ```\n\n3. User replies `approve A7K3`\n\n4. Clawd executes:\n   ```\n   approvals(action=\"approveAndExecute\", id=\"A7K3\")\n   ```\n\n### Batch Approvals\n\nApprove multiple at once:\n```\napprovals(action=\"batch\", ids=[\"A7K3\", \"B2X9\", \"C4Z1\"])\n```\n\nOr approve all pending:\n```\napprovals(action=\"batch\", ids=[\"all\"])\n```\n\n## Storage\n\nApprovals are stored as JSON files in `~/.clawdbot/approvals/`.\n\nA cleanup service runs hourly to remove approvals older than 7 days.\n\n## Configuration\n\nDefault expiry is 2 hours. Can be overridden per-approval with `expiryMinutes` parameter.\n\nChannel tracking is supported via `channel` and `chatId` parameters for tracing where approvals originated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaasonsaas%2Fclawdbot-approvals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaasonsaas%2Fclawdbot-approvals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaasonsaas%2Fclawdbot-approvals/lists"}