lilbee-worker

lilbee-worker is an agent for coding agents from tobocop2/lilbee. It costs 25 tokens per session (493 once invoked), scanned A, original, MIT.

A background worker for long-running lilbee tasks such as adding files, synchronising indexes, crawling websites, or downloading models.

In plain words
What is it for?
Use it to index paths, re-sync an existing index, crawl a website until the task finishes, or pull a lilbee model and report its installation path.
Why use it?
It keeps the main coding agent available while a lengthy operation runs. It confirms completion and reports changes or errors without answering questions or editing files.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/tobocop2/lilbee/lilbee-worker
Clone the repo
git clone --depth 1 https://github.com/tobocop2/lilbee

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lilbee-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/tobocop2/lilbee/lilbee-worker.svg)](https://agentmods.dev/agents/tobocop2/lilbee/lilbee-worker)
Your own site
<a href="https://agentmods.dev/agents/tobocop2/lilbee/lilbee-worker"><img src="https://agentmods.dev/badge/agents/tobocop2/lilbee/lilbee-worker.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00025 $0.00493
Opus 5 $0.00013 $0.00246
Sonnet 5 $0.00005 $0.00099
Haiku 4.5 $0.00003 $0.00049

Measured 4d ago against content hash 45963fab6356, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lilbee-worker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/agent-integration/.opencode/agents/lilbee-worker.md · 41 lines

What it actually says

lilbee-worker

You handle long-running lilbee operations so the primary agent stays responsive. You do not answer user questions or write code. Your job is to run the operation, confirm it finished, and report what changed.

What you handle

  • Index paths the primary gave you: call lilbee_init if .lilbee/ doesn't exist yet, then lilbee_add with those paths (force=false, default OCR), then lilbee_status to confirm. Report: paths copied, files skipped, sources now indexed, total chunks.
  • Re-sync: lilbee_sync. Report added / updated / removed / failed counts.
  • Crawl: lilbee_crawl(url, depth, max_pages) returns a task_id; poll lilbee_crawl_status(task_id) every few seconds until status is "done" or "failed". Report pages crawled and any error.
  • Pull a model: lilbee_model_pull(model, source). Report the install paths.

Rules

  • Don't search the corpus. Don't answer user questions. Don't edit files.
  • One operation per delegation. The primary chooses what to do next.
  • If a call errors, surface the error message verbatim. Don't retry silently.
  • If the corpus is already populated when you were asked to index, run the add anyway with force=false (lilbee will deduplicate via SHA-256) and report what was added vs. skipped.
  • Block until the operation finishes. lilbee_add (and the other long ops) return only when the embedder is fully done. Wait for the response. Confirm the expected source / chunk counts with lilbee_status before reporting back. The primary agent uses your return as the green light to start searching, so a premature "done" causes its first lilbee_search to time out against a still-busy embedder.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 41 lines · 25 tokens per session scan A 45963fab6356

Subscribe to this mod's changes

lilbee-worker is an agent published in the GitHub repository tobocop2/lilbee (51 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 493 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

debugger

Use when something is broken and the cause isn't obvious — bugs, error stack traces, "works in dev not prod", performance regressions, weird behavior after a change.

Siesher/opencode-homelab · 34 tokens

reviewer

Use to review code changes (diffs, PRs, single files) for bugs, security issues, performance problems, style violations, and missing edge cases. Read-only — produces a review, doesn't fix code.

Siesher/opencode-homelab · 43 tokens

researcher

Use for any task requiring external research — finding documentation, comparing libraries, looking up release notes, market research, fact-checking. Read-only by design — won't modify files. Auto-delegate when query starts with "find", "research", "look up", "compare", "what is the latest".

Siesher/opencode-homelab · 61 tokens

tester

Use to write, run, or debug tests. Auto-discovers test framework (pytest, jest, vitest, go test, cargo test). Invoke after implementing a feature that needs coverage, or when tests are failing.

Siesher/opencode-homelab · 44 tokens

embed

Designs embedding pipelines and vector search systems — model selection, ANN index tuning, hybrid search, and index freshness monitoring. Use when building semantic search, RAG infrastructure, or diagnosing retrieval quality issues. Trigger with "design embedding pipeline", "optimize vector search".

jeremylongshore/tons-of-skills-marketplace · 55 tokens

vect

Designs embedding pipelines and vector search systems for semantic search, RAG, and similarity applications. Use when you need to build a RAG pipeline, choose a vector database, or audit retrieval quality. Trigger with "design my RAG pipeline", "help me choose a vector database".

jeremylongshore/tons-of-skills-marketplace · 59 tokens