AI_Secretary_System: Instructions file for Claude Code

CLAUDE.md

AI_Secretary_System CLAUDE.md is an instructions file for Claude Code from ShaerWare/AI_Secretary_System. It costs 17,310 tokens per session, scanned D, original, MIT.

Project instructions for AI_Secretary_System, a virtual secretary that combines voice, language models, phone calls, messaging, and an administration web app.

In plain words
What is it for?
Use them when changing this repository, especially when starting services, choosing CPU or GPU operation, or working with its many integrations.
Why use it?
They give a coding agent the project context and the commands needed to build and run its local or Docker-based setup.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is ShaerWare/AI_Secretary_System's own configuration. It tells Claude Code how to work on AI_Secretary_System itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AI_Secretary_System configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ShaerWare/AI_Secretary_System. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ShaerWare/AI_Secretary_System/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ShaerWare/AI_Secretary_System

Made for: Claude Code.

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 AI_Secretary_System CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shaerware/ai_secretary_system/claude-md/github.svg)](https://agentmods.dev/instructions/shaerware/ai_secretary_system/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/shaerware/ai_secretary_system/claude-md"><img src="https://agentmods.dev/badge/instructions/shaerware/ai_secretary_system/claude-md/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.

agentmods 80×15 button for AI_Secretary_System CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/shaerware/ai_secretary_system/claude-md"><img src="https://agentmods.dev/badge/instructions/shaerware/ai_secretary_system/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17,310 This file is loaded in full into every session.
When invoked 17,310 The same file — it is already loaded in full.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.17310 $0.17310
Opus 5 $0.08655 $0.08655
Sonnet 5 $0.03462 $0.03462
Haiku 4.5 $0.01731 $0.01731

Measured 5d ago against content hash 76d7b8140076, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade D, and why

AI_Secretary_System CLAUDE.md scanned grade D with 3 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 5d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo bash scripts/setup_mobile_internet.sh start # Connect wwan0 via QMI

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

4. Clean build artifacts — `rm -rf admin/dist admin/node_modules/.vite`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://localhost:8002/health
CLAUDE.md · 499 lines

How it starts

The opening of the file, as written. The whole thing — 499 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

AI Secretary System — virtual secretary with voice cloning (XTTS v2, OpenVoice), pre-trained voices (Piper), local LLM (vLLM + Qwen/Llama/DeepSeek), cloud LLM fallback (Gemini, Kimi, OpenAI, Claude, DeepSeek, OpenRouter), and Claude Code CLI bridge. Features GSM telephony (SIM7600E-H), amoCRM integration, Vue 3 PWA admin panel, i18n (ru/en/kk), multi-instance Telegram bots with sales/payments, multi-instance WhatsApp bots (Meta Cloud API or a self-hosted QR-linked provider), website chat widgets, and LoRA fine-tuning.

Commands

Build & Run

# Docker (recommended)
cp .env.docker.example .env && docker compose up -d          # GPU mode
docker compose -f docker-compose.yml -f docker-compose.cpu.yml up -d  # CPU mode
docker compose -f docker-compose.yml -f docker-compose.full.yml up -d # Full containerized (includes vLLM)
docker compose --profile vector-search up -d                 # + Vector Search microservice (:8003)

# Local
./start_gpu.sh              # GPU: XTTS + Qwen2.5-7B + LoRA
./start_cpu.sh              # CPU: Piper + Gemini API
curl http://localhost:8002/health

Admin Panel

cd admin && npm install     # First-time setup
cd admin && npm run build   # Production build (vue-tsc type-check + vite build)
cd admin && npm run dev     # Dev server (:5173), proxies /admin + /v1 + /health to :8002
DEV_MODE=1 ./start_gpu.sh   # Backend proxies to Vite dev server

Default login: admin / admin. Guest demo: demo / demo (read-only).

No frontend testsnpm test is not configured. Type checking happens during npm run build via vue-tsc -b.

Deploy gotcha: Vite deletes and recreates admin/dist/ (new inode), breaking Docker bind mounts. Always docker compose restart after npm run build.

Mobile App

cd mobile && npm install     # First-time setup
cd mobile && npm run build   # Production build (vue-tsc type-check + vite build)
cd mobile && npm run dev     # Dev server
cd mobile && npx cap sync android  # Sync web assets to Android project
cd mobile && npx cap open android  # Open in Android Studio → Build APK

Read the full file on GitHub · 499 lines

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. 5d ago Changed · +814 tokens per session 76d7b8140076
  2. 9d ago First seen · 499 lines · 16,496 tokens per session scan D f54b5194afcd

Subscribe to this mod's changes

AI_Secretary_System CLAUDE.md is an instructions file published in the GitHub repository ShaerWare/AI_Secretary_System (11 stars, last pushed 8d ago), licensed MIT. It adds 17,310 tokens to every session, about $0.0865 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens