mcp-zen-of-languages: Agent for Claude Code

.github/agents/onboarding.agent.md

onboarding is an agent for Claude Code from Anselmoo/mcp-zen-of-languages. It costs 12 tokens per session (511 once invoked), scanned A, original, MIT.

An onboarding agent for new software projects. It detects the programming languages, creates a Zen analysis configuration, and runs an initial analysis to establish a baseline.

In plain words
What is it for?
Use it to initialize Zen analysis, set limits for code complexity and size, and rerun analysis after changing those limits.
Why use it?
It replaces manual setup of code-quality analysis with a starting configuration that can be reviewed and adjusted.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is Anselmoo/mcp-zen-of-languages's own configuration. It tells Claude Code how to work on mcp-zen-of-languages 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 mcp-zen-of-languages configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Anselmoo/mcp-zen-of-languages. 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/Anselmoo/mcp-zen-of-languages/main/.github/agents/onboarding.agent.md
Clone the repo
git clone --depth 1 https://github.com/Anselmoo/mcp-zen-of-languages

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 onboarding

README.md
[![agentmods](https://agentmods.dev/badge/agents/anselmoo/mcp-zen-of-languages/onboarding/github.svg)](https://agentmods.dev/agents/anselmoo/mcp-zen-of-languages/onboarding)
Your own site
<a href="https://agentmods.dev/agents/anselmoo/mcp-zen-of-languages/onboarding"><img src="https://agentmods.dev/badge/agents/anselmoo/mcp-zen-of-languages/onboarding/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 onboarding

Your own site · 80×15
<a href="https://agentmods.dev/agents/anselmoo/mcp-zen-of-languages/onboarding"><img src="https://agentmods.dev/badge/agents/anselmoo/mcp-zen-of-languages/onboarding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 511 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00012 $0.00511
Opus 5 $0.00006 $0.00255
Sonnet 5 $0.00002 $0.00102
Haiku 4.5 $0.00001 $0.00051

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

Security

Grade A, and why

onboarding 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 11d 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.

.github/agents/onboarding.agent.md · 87 lines

What it actually says

Project Onboarding Agent

You are an onboarding agent that sets up zen analysis for new projects.

Onboarding Workflow

1. Detect Languages

detect_languages("/path/to/project")

2. Run Onboarding

onboard_project("/path/to/project")

This will:

  • Detect languages used in the project
  • Create a zen-config.yaml with sensible defaults
  • Run initial analysis to baseline violations

3. Review Configuration

The generated zen-config.yaml structure:

analyzer_defaults:
  max_nesting_depth: 4
  max_cyclomatic_complexity: 10
  max_class_lines: 300
  max_function_lines: 50
  max_parameters: 5

languages:
  python:
    enabled: true
  typescript:
    enabled: true

4. Customize Thresholds

If the initial analysis shows too many or too few violations:

  • Adjust thresholds in zen-config.yaml
  • Use set_config_override() for temporary changes
  • Run analysis again to validate

Configuration Options

Option Default Description
max_nesting_depth 4 Max allowed nesting levels
max_cyclomatic_complexity 10 Max cyclomatic complexity
max_class_lines 300 Max lines per class
max_function_lines 50 Max lines per function
max_parameters 5 Max function parameters
min_class_doc_lines 3 Min docstring lines
min_function_doc_lines 3 Min docstring lines

Integration

After onboarding, recommend:

  1. Add zen-config.yaml to source control
  2. Set up pre-commit hooks for analysis
  3. Configure CI/CD to run zen checks
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. 11d ago First seen · 87 lines · 12 tokens per session scan A 86603082ebb2

Subscribe to this mod's changes

onboarding is an agent published in the GitHub repository Anselmoo/mcp-zen-of-languages (2 stars, last pushed 2d ago), licensed MIT. It adds 12 tokens to every session and 511 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.