OPOS: Skill for Claude Code

.claude/skills/serve-console/SKILL.md

serve-console is a skill for Claude Code from Koroqe/OPOS. It costs 21 tokens per session (935 once invoked), scanned A, original, MIT.

A command that starts a local, read-only web page for viewing company operating-system files such as tasks, agents, skills, departments, and history.

In plain words
What is it for?
Use it to run the console on a chosen port and optionally open it in a browser. By default it is accessible only on the same computer.
Why use it?
It lets people browse this information in a browser without repeatedly using Claude Code or the GitHub command-line tool.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is Koroqe/OPOS's own configuration. It tells Claude Code how to work on OPOS 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 OPOS configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Koroqe/OPOS. 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/Koroqe/OPOS/main/.claude/skills/serve-console/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Koroqe/OPOS

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 serve-console

README.md
[![agentmods](https://agentmods.dev/badge/skills/koroqe/opos/serve-console.svg)](https://agentmods.dev/skills/koroqe/opos/serve-console)
Your own site
<a href="https://agentmods.dev/skills/koroqe/opos/serve-console"><img src="https://agentmods.dev/badge/skills/koroqe/opos/serve-console.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 935 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.1 $0.00021 $0.00935
Opus 5 $0.00010 $0.00467
Sonnet 5 $0.00004 $0.00187
Haiku 4.5 $0.00002 $0.00093

Measured 6d ago against content hash 76162cf0ff7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

serve-console 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 6d 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.

.claude/skills/serve-console/SKILL.md · 56 lines

How it starts

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

serve-console

When to use

When a human wants a CRM-style read-only view over the company OS — tasks, agents, skills, departments, history — without going through Claude Code or the gh CLI for each lookup. The console is a long-running foreground command; the user stops it with Ctrl-C.

Inputs

  • port — TCP port to bind. Default: 8765 (memorable; outside common-conflict ranges).
  • host — bind address. Default: 127.0.0.1 (loopback only). Pass 0.0.0.0 to expose on the LAN — WARNING: anyone on your LAN can then read every markdown file in this repo, including restricted folders (company/strategy/). Only do this on a trusted network.
  • open_browser — bool, default true. When true, auto-opens the URL in the default browser after the server starts.

Steps

  1. Resolve repo root. REPO_ROOT=$(git rev-parse --show-toplevel).

  2. Verify ui/console.py exists. If absent, ABORT with: "ui/console.py not found — run copier update to pull v0.3.0+ files, or scaffold a fresh consumer with copier copy gh:Koroqe/OPOS."

  3. Verify Python ≥3.10. python3 --version parsed as Python 3.X.Y; abort if X<3 or (X==3 and Y<10) with the install hint for your platform.

  4. Verify dependencies importable. python3 -c "import jinja2, markdown". If markdown is missing, ABORT with: "markdown library required: pip install markdown (or pipx inject copier markdown if Copier is your only Python tool)." Do NOT auto-install — touching the user's Python env is a Rule 4 architectural decision per .claude/rules/error-recovery.md.

  5. Announce + open browser. Print: OPOS Console serving at http://<host>:<port>/ (Ctrl-C to stop). If open_browser=true, run python3 -m webbrowser "http://<host>:<port>/" (non-blocking; failure to open the browser is non-fatal).

  6. Exec the server. python3 ui/console.py --port <port> --host <host> (add --no-browser if open_browser=false). Foreground process; KeyboardInterrupt (Ctrl-C) shuts it down cleanly.

Read the full file on GitHub · 56 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 56 lines · 21 tokens per session scan A 76162cf0ff7e

Subscribe to this mod's changes

serve-console is a skill published in the GitHub repository Koroqe/OPOS (2 stars, last pushed 4d ago), licensed MIT. It adds 21 tokens to every session and 935 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-31.