aigis: Instructions file for Claude Code

CLAUDE.md

aigis CLAUDE.md is an instructions file for Claude Code from killertcell428/aigis. It costs 1,668 tokens per session, scanned A, original, Apache-2.0.

Project instructions for Aigis, a setup that manages Zenn articles and books through GitHub. Zenn is a publishing platform for developer articles and books.

In plain words
What is it for?
Creating articles and books, previewing them locally, listing content, and publishing or unpublishing drafts through GitHub changes.
Why use it?
They explain the required files, commands, and publishing process so changes are made in the expected way.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to killertcell428/aigis. 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/killertcell428/aigis/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/killertcell428/aigis

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 aigis CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/killertcell428/aigis/claude-md/github.svg)](https://agentmods.dev/instructions/killertcell428/aigis/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/killertcell428/aigis/claude-md"><img src="https://agentmods.dev/badge/instructions/killertcell428/aigis/claude-md/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 aigis CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/killertcell428/aigis/claude-md"><img src="https://agentmods.dev/badge/instructions/killertcell428/aigis/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,668 This file is loaded in full into every session.
When invoked 1,668 The same file — it is already loaded in full.
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.01668 $0.01668
Opus 5.5 $0.00667 $0.00667
Sonnet 5.5 $0.00334 $0.00334
Haiku 4.5 $0.00167 $0.00167

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

Security

Grade A, and why

aigis CLAUDE.md 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 2mo 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.md · 159 lines

How it starts

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

Aigis — Project Guidelines

Zenn記事管理(Zenn CLI + GitHub連携)

Zenn記事・書籍はZenn CLIとGitHub連携で管理する。Playwrightやブラウザ操作での投稿は行わない。

ディレクトリ構成

  • articles/ — Zenn記事(slug形式のファイル名: my-article-slug.md)
  • books/ — Zenn書籍
  • content/articles/ — 他プラットフォーム向け下書き(Qiita, dev.to等)

記事の作成

npx zenn new:article --slug <slug-name>

slugは英数字・ハイフンで12-50文字。articles/ に自動生成される。

プレビュー

npx zenn preview

http://localhost:8000 でプレビュー確認。

記事の公開

  1. frontmatterの published: true に変更
  2. git commit & push → Zenn側に自動反映

記事の非公開・下書き

  • published: false にしてpush

npm scripts

  • npm run zenn:preview — プレビューサーバー起動
  • npm run zenn:new:article — 新規記事テンプレート生成
  • npm run zenn:new:book — 新規書籍テンプレート生成
  • npm run zenn:list:articles — 記事一覧表示

Auto-Improvement Loop — Release Note & CHANGELOG Format

IMPORTANT: This section OVERRIDES the "one short user-visible sentence" instruction in the loop's Step 7 and Step 11. Write release notes at the level of detail specified here.

Tag ordering — never tag before merging to master

The release workflow (.github/workflows/release.yml) refuses to publish if the tagged commit is not reachable from origin/master (orphan-tag guard). Always:

  1. Land the release: vX.Y.Z commit on master via PR merge first.
  2. Only then create and push tag vX.Y.Z against the master commit.

Pushing a tag from a feature branch HEAD will fail the release workflow and waste a version number. If you hit a "tag collision" error, do not bump the version and retry from the same orphan commit — that is the pattern that produced the v1.1.1 → v1.1.2 → v1.1.3 cascade of unreachable releases. Investigate why master doesn't have the release commit instead.

CHANGELOG entries (Step 7)

Each entry under ## [Unreleased] must cover every new DetectionPattern or detector added in the cycle. For each one, write:

- **`rule_id`** (score N, input/output filter) — One sentence: what attack it detects and what
  a blocked example looks like. Include: attack name, source (paper/org/year), and measured
  attack success rate if available.

  **Blocked example:**

[concrete example of the input or output that would be flagged]

Read the full file on GitHub · 159 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. 2mo ago First seen · 159 lines · 1,668 tokens per session scan A b329dce126a2

Subscribe to this mod's changes

aigis CLAUDE.md is an instructions file published in the GitHub repository killertcell428/aigis (53 stars, last pushed today), licensed Apache-2.0. It adds 1,668 tokens to every session, about $0.0067 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.

Related

aigis CLAUDE.md compared with instructions from other repositories

aigis CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aigis CLAUDE.mdkillertcell428/aigisInstructions file53todayApache-2.0A1,668Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode