# Add to your Claude Code skills
git clone https://github.com/duckbugio/flockGuides for using ai agents skills like flock.
Last scanned: 6/24/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-24T07:39:44.424Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how flock compares with popular alternatives.
flock is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by duckbugio. Autonomous AI dev-team bot. It has 501 GitHub stars.
Yes. flock passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/duckbugio/flock" and add it to your Claude Code skills directory (see the Installation section above).
flock is primarily written in Go. It is open-source under duckbugio on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh flock against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
Run a Claude Code AI dev team on your server and drive it from chat. Describe a feature in Telegram, VK or LO; the team plans it, builds it on a branch, tests it, reviews it, and opens a PR — each chat in its own isolated workspace.
It runs on your Claude Pro/Max subscription (no per-token billing) or an Anthropic API key, ships as prebuilt Docker images (no build step), and keeps every chat in its own sandboxed workspace.
git clone https://github.com/duckbugio/flock
cd flock/adapters/telegram
cp .env.example .env # fill in the REQUIRED block (4 values)
docker compose up -d
That pulls the prebuilt image ghcr.io/duckbugio/flock-telegram — no build, no Ansible — then message your bot. The minimum .env:
| Variable | What |
|---|---|
TELEGRAM_BOT_TOKEN |
from @BotFather |
TELEGRAM_BOT_USERNAME |
your bot's @username (no @) |
ALLOWED_USERS |
comma-separated Telegram user IDs allowed to use the bot |
CLAUDE_CODE_OAUTH_TOKEN |
claude setup-token (subscription) — or set ANTHROPIC_API_KEY |
Everything else in .env.example has sensible defaults. Update later with docker compose pull && docker compose up -d.
BOT_ROLE=assistant selects a general assistant agreement for direct chats instead
of the developer-team workflow. The default is developer, preserving existing
bots. BOT_OWNER_INSTRUCTIONS accepts up to 8 KiB of literal text (LF and tab are
supported) for context, tone and escalation rules. It also applies to LO and
Telegram secretaries, whose transport/consent rules remain in force. Do not store
credentials in instructions. Changing the provider, role, instructions or DuckBug credential
starts a fresh agent session; prior session records and workspaces are retained.
To use DuckBug knowledge today, configure DUCKBUG_MCP_TOKEN with
knowledge:read and DUCKBUG_MCP_URL (cloud default: https://duckbug.io/api/mcp).
The bot uses its own authorized MCP scope. The owner can narrow topics/projects
through instructions, for example:
Answer service questions from the approved DuckBug FAQ. Search before answering, read the relevant documents, and identify the source. If the answer is missing or access fails, ask me instead of guessing. Only share information intended for the correspondent; do not reveal internal procedures or credentials.
The duckbug-knowledge skill discovers the compact tool catalog, then uses
kb_search and kb_get. knowledge_context remains available for engineering
work; its returned files are not installed as bot rules. Existing tokens may lack
knowledge:read; use DuckBug's token/access flow to grant it. This MCP wiring is
currently supported on the Claude backend.
Delegated runs use the effective catalog of the current credential, including deployment availability. If no authorized KB operations are present, ordinary replies still work, but the agent is told that the knowledge base is unavailable and must not promise a lookup or invent document sources. Product MCP documents and app-admin document pickers are not substitutes for the owner's knowledge base.
Roles and prompts are behavioral preferences, not an execution sandbox. The bot retains its configured tools. MCP capabilities enforce data access; a project credential can also expose shared organization documents. Use an appropriate corpus for external replies. Direct chats keep normal tools. Delegated Secretary runs instead enforce a read-only knowledge tool policy; changing a role or prompt cannot add tools. Approval mode reviews the outgoing reply, and the host alone sends it.
Telegram can connect your bot to your account so it receives messages from selected
private chats and may reply on your behalf. Enable Secretary Mode for the bot
in @BotFather, then connect it in Telegram's chat
automation settings and grant only the chats and can_reply permission you want.
The Telegram account owner must be listed in ALLOWED_USERS.
Set SECRETARY_MODE=approval to receive an AI draft in your private chat with
the bot and choose Send or Discard. Set SECRETARY_MODE=auto to send the
draft automatically. The default is off. Telegram settings control chat access;
for Ansible deployments set secretary_mode in the inventory variables.
SECRETARY_MODE controls reply approval, while the bot's AI_BACKEND and model
remain separately configured. For now, Secretary Mode is available only when
AI_BACKEND=claude; other providers leave the Telegram bot running without
Business message handling. Delegated messages use the selected Claude model
and rendered owner instructions with only authorized kb_search, kb_get and
kb_list tools. The trusted host discovers and validates these read-only
operations using this bot's existing MCP credential; the model receives only a
short-lived local proxy capability. It cannot access shell, files, coding skills,
subagents, arbitrary MCP dispatchers or send messages directly. Unsupported
providers fail closed. Explicit CLAUDE_CODE_OAUTH_TOKEN or ANTHROPIC_API_KEY
is required; implicit keychain/credential-file authentication is not inherited.
The runtime pins Claude Code 2.1.294 to qualify these tool-policy flags. This is
an application tool restriction, not an OS sandbox.
Each delegated chat has separate private history and a readonly_v2 session
namespace; ordinary coding sessions and old unrestricted secretary sessions
are never resumed. Business workspaces default to
SECRETARY_WORKSPACE_DIR=/workspace-business and must be mounted persistently.
Set a spending limit with your provider before enabling automatic replies. The
bot caps requests per minute and applies its configured cost cap to Business
runs. Flock resumes each Business chat's earlier conversation. Approval
draft replies and routing metadata are stored in secretary-state.json under
APPROVED_DIRECTORY; delegated runs receive no file-access tools. Edited or deleted messages
cancel unsent approval drafts; the bot does not generate a replacement reply for
an edit. Approval buttons expire after
24 hours; Telegram may reject a reply earlier if its business reply window has
closed.
Region: host in an Anthropic-supported region (some countries, e.g. RU/CN, are geo-blocked) — otherwise Claude calls fail.
VK is the same pattern under adapters/vk/, built on the same core and published as ghcr.io/duckbugio/flock-vk. It ships only an env template (no compose file): cp .env.example .env, then docker run --env-file .env ghcr.io/duckbugio/flock-vk. Claude auth and core settings match Telegram; only the three transport vars change:
| Variable | What |
|---|---|
VK_BOT_TOKEN |
community access token (VK community → Manage → API usage → access token) |
VK_GROUP_ID |
your community's numeric id (long-poll server + mention parse) |
VK_ALLOWED_USERS |
comma-separated VK user IDs allowed to use the bot |
LO has a text-first adapter with its own allow-list and workspace namespace. Its image is published as ghcr.io/duckbugio/flock-lo; start it using adapters/lo/. The LO entry point supports interrupted-run recovery, optional CI watch and Gitea PR-comment polling restricted to its own checked-out branches. Voice input uses the shared transcription providers when enabled. See the LO / Telegram compatibility audit for supported commands, optional streaming, and platform gaps.
/goal arms an independent evaluator that loops the team until your criterion actually holds; /schedule runs recurring jobs; an optional CI watch reacts to red builds (and can auto-merge green PRs) — all under a per-chat daily autonomy budget. See Autonomy loops.You (in a chat): "implement X across the api + web services"
→ bot's Claude (Lead) → planner → confirm scope → coder ⇄ tester → PR per repo
→ reviewer (inline comments) ⇄ coder → arbiter
├ APPROVE → you merge