nyann:gen-ci

nyann:gen-ci is a command for Claude Code from thettwe/nyann. It costs 46 tokens per session (340 once invoked), scanned A, original, MIT.

A command that creates a GitHub Actions CI workflow from a project's detected technology stack and nyann profile. CI automatically checks code, while GitHub Actions runs those checks online.

In plain words
What is it for?
It is for generating lint, type-check, and test jobs in `.github/workflows/ci.yml`.
Why use it?
It avoids writing a matching workflow by hand and sets up checks for code quality and correctness.

Command for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code.

Part of the nyann plugin — 41 skills, 41 commands, 3 hooks shipped together

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.

agentmods
npx agentmods add commands/thettwe/nyann/gen-ci
Clone the repo
git clone --depth 1 https://github.com/thettwe/nyann

Made for: Claude Code.

Or install nyann, the plugin that ships this one along with the rest of its 41 skills, 41 commands, 3 hooks.

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 nyann:gen-ci

README.md
[![agentmods](https://agentmods.dev/badge/commands/thettwe/nyann/gen-ci.svg)](https://agentmods.dev/commands/thettwe/nyann/gen-ci)
Your own site
<a href="https://agentmods.dev/commands/thettwe/nyann/gen-ci"><img src="https://agentmods.dev/badge/commands/thettwe/nyann/gen-ci.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 340 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.00046 $0.00340
Opus 5 $0.00023 $0.00170
Sonnet 5 $0.00009 $0.00068
Haiku 4.5 $0.00005 $0.00034

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

Security

Grade A, and why

nyann:gen-ci 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.

commands/gen-ci.md · 38 lines

What it actually says

Plugin root: This is a Claude Code plugin, NOT a CLI tool. Do NOT search via which, npm list, pip list, or brew list. This file is at <plugin_root>/commands/. All scripts: <plugin_root>/bin/. Read the matching skills/*/SKILL.md for the full flow.

/nyann:gen-ci

Run the gen-ci skill (see skills/gen-ci/SKILL.md):

  1. Detect the stack with bin/detect-stack.sh.
  2. Resolve the active profile (argument → preferences → CLAUDE.md → default).
  3. Generate the CI workflow via bin/gen-ci.sh.
  4. Preview and confirm before writing.

Exit codes:

  • 0 — workflow generated successfully
  • 1 — error (missing template, invalid profile, etc.)

See also:

  • /nyann:gen-templates — generate PR and issue templates
  • /nyann:bootstrap — full project setup including CI
  • /nyann:doctor — audit repo health
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 · 38 lines · 46 tokens per session scan A 612c96422784

Subscribe to this mod's changes

nyann:gen-ci is a command published in the GitHub repository thettwe/nyann (6 stars, last pushed 7d ago), licensed MIT. It adds 46 tokens to every session and 340 once invoked, about $0.0002 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.

Related

Other commands, from other repositories

renovate

Generate renovate.json covering all dependency file types used in a repo, emit a GitHub Actions workflow that validates renovate.json on every PR, or generate a pre-commit hook for local validation.

nitinjain999/platform-skills · 42 tokens

composite-actions

Generate, review, secure, and test composite GitHub Actions following best practices — full repo scaffold, interview-driven generation, PR creation on existing repos, SHA pinning, secrets-as-inputs, job summaries, and actionlint validation.

nitinjain999/platform-skills · 51 tokens

github-actions

Design, review, secure, and debug GitHub Actions workflows — reusable workflows, OIDC federation, SHA pinning, token scoping, promotion orchestration, and CI failure diagnosis.

nitinjain999/platform-skills · 40 tokens

trivy

Scan container images, filesystems, git repos, and existing SBOMs for CVEs, secrets, and license violations using Trivy. Covers local CLI, CI severity gates with SARIF upload, and continuous monitoring via Trivy Operator (Flux HelmRelease). Use when asked to "scan my image", "check for CVEs", "scan this repo for…

nitinjain999/platform-skills · 131 tokens

watch-ci

Monitor CI/CD pipeline and automatically fix failures. Watches GitHub Actions runs and applies fixes when tests fail.

fusengine/agents · 21 tokens

dora

Measure, benchmark, instrument, and debug DORA metrics (Deployment Frequency, Lead Time for Changes, Change Failure Rate, MTTR) for production engineering teams. Covers GitHub Actions instrumentation, Prometheus recording rules, Grafana dashboards, incident source integration, SaaS tool selection, and anti-pattern…

nitinjain999/platform-skills · 97 tokens