cos-review

cos-review is a skill for Claude Code from BayramAnnakov/ai-personal-os-skills. It costs 39 tokens per session (5,396 once invoked), scanned B, original, MIT.

A review process for an AI assistant used as a personal Chief of Staff, meaning a system that helps organise work and decisions. It supports setup, regular review and quick status checks.

In plain words
What is it for?
Use it to set up the assistant, run a review every two weeks, or check its current health and configuration.
Why use it?
It helps reveal missing instructions, information or routines that make the assistant less useful over time.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Part of the ai-personal-os-skills plugin — 6 skills shipped together

Good fit Use it to set up the assistant, run a review every two weeks, or check its current health and configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bayramannakov/ai-personal-os-skills/cos-review
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.

Any agent
npx skills add BayramAnnakov/ai-personal-os-skills --skill cos-review
Clone the repo
git clone --depth 1 https://github.com/BayramAnnakov/ai-personal-os-skills

Made for: Claude Code.

Or install ai-personal-os-skills, the plugin that ships this one along with the rest of its 6 skills.

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 cos-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/bayramannakov/ai-personal-os-skills/cos-review/github.svg)](https://agentmods.dev/skills/bayramannakov/ai-personal-os-skills/cos-review)
Your own site
<a href="https://agentmods.dev/skills/bayramannakov/ai-personal-os-skills/cos-review"><img src="https://agentmods.dev/badge/skills/bayramannakov/ai-personal-os-skills/cos-review/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 cos-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/bayramannakov/ai-personal-os-skills/cos-review"><img src="https://agentmods.dev/badge/skills/bayramannakov/ai-personal-os-skills/cos-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,396 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00039 $0.05396
Opus 5 $0.00019 $0.02698
Sonnet 5 $0.00008 $0.01079
Haiku 4.5 $0.00004 $0.00540

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

Security

Grade B, and why

cos-review scanned grade B with 2 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

2. `~/.claude/settings.json` — read and parse the `enabledPlugins` object (key:boolean dict, e.g., `"gmail@claude-plugins-official": true`)

Makes network callslowCapability

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

- ActivityWatch (focus/productivity tracking): run `curl -s http://localhost:5600/api/0/info 2>/dev/null` via Bash. If responds, it's running. If not, check if `aw-qt` or `aw-server` process exists. If installed but not
skills/cos-review/SKILL.md · 421 lines

How it starts

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

/cos-review — Chief of Staff Review

Diagnose, build, and grow your personal AI operating system.

Your AI is your Chief of Staff. This skill is the performance review.

Detect Mode

Check what the user typed:

  • /cos-review setup → run Setup Mode
  • /cos-review status → run Status Mode
  • /cos-review (no arguments) → run Review Mode

MODE 1: Setup (first run)

Run this the first time, or when rebuilding the system from scratch. It scans everything, analyzes usage, and guides the user through fixing their biggest gaps.

Step 1: System Scan

Scan automatically — don't ask, CHECK. Report what exists and what's missing.

Important: Use Read, Glob, and Grep tools (cross-platform) instead of shell commands like find or grep. Only fall back to Bash when no dedicated tool works. Detect the OS first (uname on Mac/Linux, or check for Windows paths) and adapt commands accordingly.

L1: Knows You

  • Read ~/.claude/CLAUDE.md — exists? word count?
  • Search for SOUL.md:
    1. Check ~/.claude/SOUL.md first (the standard global location)
    2. If not there, Glob **/SOUL.md in home (max depth 5, exclude node_modules/.git/Library)
    3. If found elsewhere but NOT in ~/.claude/: report "SOUL.md exists at [path] but is not globally accessible. Recommend: copy to ~/.claude/SOUL.md"
    4. Check if ~/.claude/CLAUDE.md references SOUL.md — if not, flag: "SOUL.md won't be auto-loaded unless CLAUDE.md references it"
  • Search for user-profile.md — same 4-step approach as SOUL.md
  • Count project-level CLAUDE.md files — use Glob **/CLAUDE.md from home (max depth 4, exclude node_modules/.git)
  • Check memory — use Glob ~/.claude/projects/*/memory/*.md and count entries

L2: Has Sources

  • MCPs and plugins are configured in THREE locations — check ALL of them:
    1. ~/.claude/.mcp.json — read and parse the mcpServers key (standalone MCP servers)
    2. ~/.claude/settings.json — read and parse the enabledPlugins object (key:boolean dict, e.g., "gmail@claude-plugins-official": true)
    3. Project-level .mcp.json files — Glob for them in the current project
  • For each source found, try a lightweight test call (skip if tool not available):
    • Gmail: try gmail_get_profile or gmail_list_labels
    • Telegram: try list_chats (limit 1)
    • AnySite: try duckduckgo_search with "test"
    • Calendar: try listing today's events
  • Ollama: run ollama list (works on Mac, Windows, Linux). If command not found, mark as not installed.
    • If installed, check for both local models (e.g., qwen3.5) and cloud models (e.g., kimi-k2.5:cloud, qwen3.5:cloud)
    • Note: cloud models via Ollama are fast and cheap but data goes to a third-party provider. Local models are fully private but require a strong GPU — slow on laptops.
    • If not installed and user has privacy or cost concerns, suggest: brew install ollama then ollama launch claude --model kimi-k2.5:cloud for cost savings, or local model for full privacy
  • ActivityWatch (focus/productivity tracking): run curl -s http://localhost:5600/api/0/info 2>/dev/null via Bash. If responds, it's running. If not, check if aw-qt or aw-server process exists. If installed but not running, note it. If not installed, suggest as optional: "ActivityWatch tracks your screen time and focus patterns — your /morning can use it to report deep work hours and app usage. Install from https://activitywatch.net"
    • If ActivityWatch IS running, check for the analysis skill: Glob ~/.claude/skills/activitywatch*/SKILL.md
    • If AW runs but no analysis skill: "You have ActivityWatch collecting data but no way to analyze it. Install the analysis skill from https://github.com/BayramAnnakov/activitywatch-analysis-skill — it calculates focus scores, detects death loops (repetitive app switching), and generates weekly insights. After installing, run it once with defaults then review uncategorized apps to calibrate for your workflow."
  • Report which sources are installed, which respond, which have expired tokens

Read the full file on GitHub · 421 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. 12d ago First seen · 421 lines · 39 tokens per session scan B 2a89ccfcf9c0

Subscribe to this mod's changes

cos-review is a skill published in the GitHub repository BayramAnnakov/ai-personal-os-skills (20 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 5,396 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories