{
  "markdown": "# Dailybot Plugin for Claude Code\n\nConnect [Claude Code](https://code.claude.com) to your team via [Dailybot](https://www.dailybot.com). Report progress, check messages, send emails, and announce agent status — all integrated into your coding workflow.\n\n## What it does\n\nThis plugin gives Claude Code five capabilities for team collaboration through Dailybot:\n\n**Progress Reporting** — When you complete meaningful work (shipping a feature, fixing a bug, finishing a task), the plugin sends a standup-style progress report to Dailybot. Reports are written in a human-first style: they describe what was accomplished and why it matters, not which files changed.\n\n**Team Messages** — Check for pending messages and instructions from your team. Messages represent tasks, priorities, context, or feedback that should influence your current work.\n\n**Email** — Send emails to anyone through Dailybot. Useful for notifications, summaries, follow-ups, or weekly reports. Replies are delivered back as messages to your agent inbox.\n\n**Health Status** — Announce your agent's status (online, working, offline, degraded) so the team knows what's happening. Health checks also deliver any pending messages from the team.\n\n**Guided Setup** — First-time setup walks you through CLI installation, authentication, and agent profile configuration step by step.\n\n## Install\n\nFrom inside Claude Code, register the DailyBot marketplace once and install the plugin:\n\n```\n/plugin marketplace add DailyBotHQ/dailybot-claude-plugin\n/plugin install dailybot@dailybot\n```\n\nThe first command tells Claude Code to trust this repository as a plugin source. The second installs the `dailybot` plugin from that marketplace. From then on you can update with `/plugin update dailybot@dailybot`.\n\nOr test locally during development without registering a marketplace:\n\n```bash\nclaude --plugin-dir ./path/to/dailybot-claude-plugin\n```\n\n## Setup (one time)\n\n### 1. Dailybot CLI\n\nThe plugin requires the Dailybot CLI. Run `/dailybot:setup` for guided setup, or install it yourself:\n\n```bash\n# Option A: pip\npip install dailybot-cli\n\n# Option B: install script\ncurl -sSL https://cli.dailybot.com/install.sh | bash\n```\n\nRequires Python 3.9+.\n\n### 2. Authentication\n\nClaude will guide you through login on first use. Or do it yourself:\n\n```bash\ndailybot login\n```\n\nThis sends a verification code to your email. Any Dailybot team member can log in — you don't need to be an admin.\n\n**Don't have a Dailybot account yet?** No problem — Claude can create a new Dailybot organization for you right from the terminal. Just tell Claude you don't have an account and it will handle the setup. You'll get a link to share with your team so they can connect Dailybot to Slack, Teams, Discord, or Google Chat.\n\n### 3. Agent name (optional)\n\nWhen you enable the plugin, Claude Code asks for an agent name. This is how your reports appear in Dailybot. Default is `claude-code`. You can change it to anything descriptive like `my-backend-agent` or `deploy-bot`.\n\n## Usage\n\n### Slash commands\n\n| Command | What it does |\n|---------|-------------|\n| `/dailybot:report` | Send a progress report to your team |\n| `/dailybot:messages` | Check for pending messages from your team |\n| `/dailybot:email` | Send an email through Dailybot |\n| `/dailybot:health` | Announce agent status and pick up messages |\n| `/dailybot:setup` | Guided first-time setup (CLI install, auth, agent profile) |\n\n### Natural language\n\nYou can also use natural language:\n\n- \"Send an update to Dailybot about what we did\"\n- \"Report this to my team\"\n- \"Do I have any messages?\"\n- \"What should I work on next?\"\n- \"Email this summary to alice@company.com\"\n- \"Go online\" / \"Check in with the team\"\n\n### Automatic behavior\n\n- **Progress reporting**: Claude detects when you've completed significant work and sends a report automatically. Trivial changes (typo fixes, lockfile updates, formatting) are skipped.\n- **Stop gate**: When a turn completes with significant unreported work, Claude is reminded to offer a Dailybot report. The reminder is rate-limited (at most once per 60 seconds) and suppressed once a report is sent.\n- **Message check**: At the start of each session, pending messages from your team are fetched automatically.\n\n## Hook architecture\n\nThe plugin uses a layered hook design to keep things invisible during normal use and only surface a nudge when there's real work to report.\n\n| Event | Script | Role |\n|-------|--------|------|\n| `SessionStart` | (inline) | Fetch pending team messages |\n| `PostToolUse` (Bash) | `hooks/mark-reported.sh` | Detect successful report commands (`dailybot agent update` or HTTP API) and silently create a `.reported` flag so the Stop gate does not re-nudge. Always silent. |\n| `PostToolUse` (Edit/Write/MultiEdit/Bash) | `hooks/accumulator.sh` | Silently log meaningful tool uses to a per-session file. Filters lockfiles, `node_modules/`, `dist/`, `.git/`, `build/`, etc. Always silent. |\n| `Stop` | `hooks/gate.sh` | Run cheap deterministic gates (loop guard, already-reported flag, 60s rate-limit, ≥2 edits, ≥60s session age, auth check). Emits a validated `decision`/`reason` JSON payload for the model — never a prompt body, never reasoning. |\n| `SessionEnd` | `hooks/cleanup.sh` | Remove the session's `.log`, `.reported`, `.last-fired` files |\n\n### Environment variables\n\n| Var | Default | Purpose |\n|-----|---------|---------|\n| `CLAUDE_PLUGIN_DATA` | `$HOME/.dailybot-claude/sessions` | Storage root for per-session log/flag files |\n| `DAILYBOT_DETERMINISTIC_ONLY` | `0` | By default, after the deterministic gates pass, an additional Claude Haiku qualitative check (`gate-llm.sh`) refines the decision. Set to `1` to skip it. If the LLM call fails (missing `ANTHROPIC_API_KEY`, network, malformed response), the gate falls back to the deterministic verdict — the plugin keeps working offline. |\n| `DAILYBOT_DEBUG` | `0` | Set to `1` to preserve `.log` files at SessionEnd for inspection |\n\nSession log files older than 7 days are cleaned up automatically on the next `PostToolUse` fire.\n\n## Report examples\n\n**Simple bug fix:**\n> \"Fixed a bug where users without a timezone set would see errors on their profile page.\"\n\n**Feature with structured data:**\n> \"Built the notification preferences system — users can now configure which alerts they receive and through which channels.\"\n> + completed: [\"Preferences model\", \"REST API\", \"Email integration\", \"Test suite (32 cases)\"]\n\n**Milestone:**\n> \"Shipped the new billing dashboard — managers can now view usage, invoices, and plan details in one place.\"\n\n## Co-authoring\n\nWhen you're logged in via CLI, Dailybot automatically credits you as a co-author on every report. The agent's work shows up in your daily standup — because you directed it.\n\n## Troubleshooting\n\n| Problem | Solution |\n|---------|----------|\n| \"Dailybot CLI not found\" | Install with `pip install dailybot-cli` or `curl -sSL https://cli.dailybot.com/install.sh \\| bash` |\n| \"Not authenticated\" | Run `dailybot login` and follow the email verification flow |\n| No Dailybot account | Tell Claude you don't have an account — it can create a new organization for you on the spot |\n| Reports not appearing | Check `dailybot status` to verify authentication. Ensure you're a member of a Dailybot organization. |\n| Wrong agent name | Run `/plugin` in Claude Code, find the Dailybot plugin, and update the agent name setting |\n| Messages not loading | Check `dailybot agent message list --name claude-code --pending` manually to verify |\n| Email rate limited | Dailybot limits agent emails per hour (default: 50). Wait for the hourly window to reset. |\n\n## Links\n\n- [Dailybot](https://www.dailybot.com)\n- [Dailybot CLI on PyPI](https://pypi.org/project/dailybot-cli/)\n- [Dailybot Agent API docs](https://api.dailybot.com/skill.md)\n- [Plugin source code](https://github.com/DailyBotHQ/dailybot-claude-plugin)\n",
  "bytes": 7887,
  "sha": "14cdc3b5dbce1038c8bcc49f6a712c69c723b028cd7dd289af487e1ca16f390a",
  "repo_slug": "dailybothq/dailybot-claude-plugin",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_dailybothq_dailybot_claude_plugin_dailyb_c17599ae/readme"
}