Borrowing it
Nothing to install: this file belongs to fredabila/orcbot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fredabila/orcbot/main/.github/copilot-instructions.mdgit clone --depth 1 https://github.com/fredabila/orcbotWrote 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.
[](https://agentmods.dev/instructions/fredabila/orcbot/copilot-instructions)<a href="https://agentmods.dev/instructions/fredabila/orcbot/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/fredabila/orcbot/copilot-instructions/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/fredabila/orcbot/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/fredabila/orcbot/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04460 | $0.04460 |
| Opus 5.5 | $0.01784 | $0.01784 |
| Sonnet 5.5 | $0.00892 | $0.00892 |
| Haiku 4.5 | $0.00446 | $0.00446 |
Grade A, and why
orcbot copilot-instructions.md 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 27d 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.
How it starts
The opening of the file, as written. The whole thing — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OrcBot AI Coding Instructions
Project Overview
OrcBot is a TypeScript/Node.js autonomous AI agent that can chat over Telegram, WhatsApp, Discord, and a web gateway. It plans multi-step tasks, executes tools (skills), browses the web, and learns from its interactions. All state is file-backed under ~/.orcbot/ by default.
Architecture Map
| Layer | File(s) | Role |
|---|---|---|
| CLI entrypoint | src/cli/index.ts | Wires all subsystems, TUI menus, user commands |
| Core agent | src/core/Agent.ts | Orchestrates memory, LLM, skills, channels, scheduling; runs the main action loop |
| Decision engine | src/core/DecisionEngine.ts | Assembles context + prompt, calls LLM, validates response, runs termination review |
| Modular prompts | src/core/prompts/ | 8 task-specific helpers + PromptRouter; only relevant helpers are injected per task |
| Simulation/planning | src/core/SimulationEngine.ts | Produces a pre-plan before execution starts |
| Parser | src/core/ParserLayer.ts | Normalizes raw LLM text into structured JSON (3-tier fallback) |
| Context compactor | src/core/ContextCompactor.ts | Truncation and LLM-based summarization for oversized context |
| Decision pipeline | src/core/DecisionPipeline.ts | Post-parse guardrails on tool calls |
| Memory | src/memory/MemoryManager.ts | Short/episodic/long memory in JSON, consolidation, daily markdown logs |
| Action queue | src/memory/ActionQueue.ts | Priority-sorted durable queue with retry, chaining, TTL, stale recovery |
| Storage | src/storage/JSONAdapter.ts | Atomic JSON persistence with backup/recovery |
| LLM routing | src/core/MultiLLM.ts | Routes by model name (gemini→Google, nvidia:→NVIDIA, else OpenAI), auto-fallback |
| Skills manager | src/core/SkillsManager.ts | Registry, dynamic plugin loading, skill matching |
| Channels | src/channels/ | Telegram (Telegraf), WhatsApp (Baileys), Discord (discord.js), Gateway (Express+WS) |
| Browser | src/tools/WebBrowser.ts | Playwright with semantic snapshots, Serper search, 2Captcha |
| Scheduler | src/core/Scheduler.ts | Cron-based via croner, emits scheduler:tick on EventBus |
| Config | src/config/ConfigManager.ts | YAML hot-reload, feature toggles, API keys |
| Token tracking | src/core/TokenTracker.ts | Per-model token/cost tracking and budgets |
| Runtime tuner | src/core/RuntimeTuner.ts | Auto-adjusts limits based on runtime signals |
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.
- 27d ago Changed · +9 lines · +318 tokens per session 5c1fe1e34fc6
- 2mo ago First seen · 314 lines · 4,142 tokens per session scan A 451c0dc71df3
orcbot copilot-instructions.md is an instructions file published in the GitHub repository fredabila/orcbot (11 stars, last pushed 28d ago), licensed MIT. It adds 4,460 tokens to every session, about $0.0178 per session on Opus 5.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.
orcbot copilot-instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| orcbot copilot-instructions.mdfredabila/orcbot | Instructions file | 11 | 28d ago | MIT | A | 4,460 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |