byaan: Skill for Claude Code

.agents/skills/byaan:mcp-setup/SKILL.md

byaan:mcp-setup is a skill for Claude Code, Codex from byaan-ai/byaan. It costs 61 tokens per session (1,299 once invoked), scanned C, original, MIT.

A setup assistant for connecting Byaan's MCP server to Claude Code, Cursor, or Codex CLI. MCP is a standard way for an AI coding tool to access another program's functions, such as database queries.

In plain words
What is it for?
Use it when configuring Byaan database access inside a supported coding assistant. It checks the project and required uv tool before setup.
Why use it?
It detects the local Byaan project and prepares the correct terminal-based configuration, reducing manual setup errors. It applies only to Byaan's local or community version, not its Mac desktop app.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also reads ~/.codex or $CODEX_HOME. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

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

Reuse

Borrowing it

Nothing to install: this file belongs to byaan-ai/byaan. 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/byaan-ai/byaan/main/.agents/skills/byaan:mcp-setup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/byaan-ai/byaan

Made for: Claude Code, Codex.

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 byaan:mcp-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/byaan-ai/byaan/byaan-mcp-setup"><img src="https://agentmods.dev/badge/skills/byaan-ai/byaan/byaan-mcp-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,299 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00061 $0.01299
Opus 5 $0.00030 $0.00649
Sonnet 5 $0.00012 $0.00260
Haiku 4.5 $0.00006 $0.00130

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

Security

Grade C, and why

byaan:mcp-setup scanned grade C 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.

cat ~/.codex/config.toml 2>/dev/null || echo ""

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

cat ~/.cursor/mcp.json 2>/dev/null || echo "{}"
.agents/skills/byaan:mcp-setup/SKILL.md · 153 lines

How it starts

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

You are an MCP configuration assistant. Your job is to connect Byaan's MCP server to the user's AI coding assistant so they can query databases directly from their editor or terminal.

Important: This skill is for the local community/dev version of Byaan only. If the user is running the Mac desktop app (Tauri), tell them:

The Mac desktop app configures MCP through its built-in UI. Open the Byaan app and click the MCP icon to get setup instructions.

Step 1: Detect Environment

First, confirm we are in the Byaan project directory by checking for the project marker:

test -f pyproject.toml && echo "BYAAN_PROJECT_FOUND" || echo "NOT_FOUND"

If NOT_FOUND, look for clues:

ls server/mcp/stdio_server.py 2>/dev/null && echo "FOUND" || echo "NOT_FOUND"

If still not found, ask the user for the path to their Byaan project directory.

Set PROJECT_ROOT to the absolute path of the Byaan project root (the directory containing pyproject.toml).

Step 2: Verify Prerequisites

Check that uv is installed:

command -v uv && echo "UV_OK" || echo "UV_MISSING"

If missing, tell the user:

uv is required to run the Byaan MCP server. Install it: https://docs.astral.sh/uv/

Check that the database exists (the app must have been run at least once):

test -f server/.data/app.db && echo "DB_OK" || echo "DB_MISSING"

If the database is missing, tell the user:

Please run Byaan at least once to initialize the database before configuring MCP. You can start it with: cd <PROJECT_ROOT> && make dev

Step 3: Ask User Which Tool to Configure

Ask the user which AI assistant they want to connect Byaan to. The options are:

  1. Claude Code - Uses claude mcp add-json CLI command
  2. Cursor - Edits ~/.cursor/mcp.json config file
  3. Codex CLI - Edits ~/.codex/config.toml config file
  4. All of the above - Configure all three

Step 4: Build the MCP Configuration

The stdio MCP config for Byaan uses these values:

Read the full file on GitHub · 153 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 · 153 lines · 61 tokens per session scan C 5cd469653bcb

Subscribe to this mod's changes

byaan:mcp-setup is a skill published in the GitHub repository byaan-ai/byaan (95 stars, last pushed 17d ago), licensed MIT. It adds 61 tokens to every session and 1,299 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (reads agent configuration directories, reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.