cn-check

cn-check is a skill for Claude Code, Codex from continuedev/continue. It costs 49 tokens per session (1,329 once invoked), scanned A, original, Apache-2.0.

Instructions for using Continue’s cn command-line tool to run AI-based checks on uncommitted or branched code changes.

In plain words
What is it for?
It covers installing and logging into cn, discovering checks, running all checks, selecting a specific check, and applying suggested fixes as a patch.
Why use it?
It gives developers a way to review local changes with configured or custom checks before sending them for review.

Skill for Claude CodeCodex ✓ vendor

Which agent this was written for is unclear — built for continue.dev. Also seen: built for continue.dev.

Good fit It covers installing and logging into cn, discovering checks, running all checks, selecting a specific check, and applying suggested fixes as a patch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/continuedev/continue/cn-check
About the project

Continue is an open-source coding agent that works through a command-line interface, a VS Code extension, and a JetBrains plugin. Developers use it to assist with software development, configuration, and customization. The catalogue entries are add-ons for Continue.

continuedev/continue · 36,228 stars · on GitHub · continue.dev

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 continuedev/continue --skill cn-check
Clone the repo
git clone --depth 1 https://github.com/continuedev/continue

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 cn-check

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/continuedev/continue/cn-check"><img src="https://agentmods.dev/badge/skills/continuedev/continue/cn-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,329 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. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.01329
Opus 5.5 $0.00020 $0.00532
Sonnet 5.5 $0.00010 $0.00266
Haiku 4.5 $0.00005 $0.00133

Measured 1mo ago against content hash 63d7241f9cc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cn-check 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • cn-check — 100% identical, 0 lines differ
skills/cn-check/SKILL.md · 201 lines

How it starts

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

cn check — Local AI Agent Checks

Run AI-powered code checks locally against your working tree changes using the Continue CLI. Each check is an agent (defined in markdown) that reviews your diff, identifies issues, and optionally suggests fixes as a patch.

When to Use

  • User asks to run AI checks on their code changes
  • User wants to set up cn check in a project
  • User needs to create custom check agents
  • User wants to apply AI-suggested fixes locally
  • User asks about Continue CI or agent-based code review

Installation

Prerequisites

  • Node.js 18+
  • A git repository with uncommitted or branched changes

Install the CLI

npm install -g @continuedev/cli

Authenticate (required for Hub checks, optional for local-only)

cn login

This opens a browser for authentication. After login, Hub-configured checks are available automatically.

Usage

Basic: Run all discovered checks

cn check

This auto-detects checks from three sources (in priority order):

  1. Hub API — checks configured for your repo on continue.dev
  2. Local agents — markdown files in .continue/agents/*.md

Specify agents explicitly

# Run a single local agent
cn check --agent .continue/agents/security-review.md

# Run a Hub-published agent
cn check --agent myorg/code-style

# Run multiple agents
cn check --agent .continue/agents/security.md --agent .continue/agents/docs.md

Compare against a specific base branch

cn check --base develop

Default: auto-detects main or master.

Output formats

# JSON output (for CI pipelines or scripting)
cn check --format json

# Unified patch output (pipe to git apply)
cn check --patch | git apply

# Stop on first failure
cn check --fail-fast

Auto-fix mode

cn check --fix

Runs all checks, then applies any suggested patches directly to the working tree. Patches that conflict are reported but skipped.

Creating a Check Agent

Create a markdown file at .continue/agents/<name>.md:

Read the full file on GitHub · 201 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. 1mo ago First seen · 201 lines · 49 tokens per session scan A 63d7241f9cc0

Subscribe to this mod's changes

cn-check is a skill published in the GitHub repository continuedev/continue (36,228 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 1,329 once invoked, about $0.0002 per session on Opus 5.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-30.