Borrowing it
Nothing to install: this file belongs to LinChuang2008/nightmend. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/LinChuang2008/nightmend/main/CLAUDE.mdgit clone --depth 1 https://github.com/LinChuang2008/nightmendWrote 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.
[](https://agentmods.dev/instructions/linchuang2008/nightmend/claude-md)<a href="https://agentmods.dev/instructions/linchuang2008/nightmend/claude-md"><img src="https://agentmods.dev/badge/instructions/linchuang2008/nightmend/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01271 | $0.01271 |
| Opus 5 | $0.00635 | $0.00635 |
| Sonnet 5 | $0.00254 | $0.00254 |
| Haiku 4.5 | $0.00127 | $0.00127 |
Grade A, and why
nightmend 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 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.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NightMend — Project Instructions
Design System
Always read DESIGN.md before making any visual or UI decisions. All font choices, colors, spacing, and aesthetic direction are defined there. Do not deviate without explicit user approval. In QA mode, flag any code that doesn't match DESIGN.md.
Skill routing
When the user's request matches an available skill, ALWAYS invoke it using the Skill tool as your FIRST action. Do NOT answer directly, do NOT use other tools first. The skill has specialized workflows that produce better results than ad-hoc answers.
Key routing rules:
- Product ideas, "is this worth building", brainstorming → invoke office-hours
- Bugs, errors, "why is this broken", 500 errors → invoke investigate
- Ship, deploy, push, create PR → invoke ship
- QA, test the site, find bugs → invoke qa
- Code review, check my diff → invoke review
- Update docs after shipping → invoke document-release
- Weekly retro → invoke retro
- Design system, brand → invoke design-consultation
- Visual audit, design polish → invoke design-review
- Architecture review → invoke plan-eng-review
- Save progress, checkpoint, resume → invoke checkpoint
- Code quality, health check → invoke health
Overview
NightMend (vigilops) — AI 驱动的智能运维监控平台。接收告警 → AI 分析 → 自动修复。
Tech Stack
- 后端: Python 3, FastAPI, SQLAlchemy (async), PostgreSQL, Redis, Alembic migrations
- 前端: React 19, TypeScript, Vite 7, Ant Design 6, ECharts, i18n
- Agent: Python, asyncssh, 独立部署到被监控主机
- 部署: Docker Compose (dev/demo/prod/ssl 四套), ClickHouse (时序数据)
- AI: DeepSeek API, MCP 集成, fastmcp
Project Structure
vigilops/
├── backend/ # FastAPI 后端
│ ├── app/
│ │ ├── api/ # REST API 路由
│ │ ├── models/ # SQLAlchemy 模型
│ │ ├── services/ # 业务逻辑
│ │ ├── remediation/ # 自动修复引擎
│ │ ├── mcp/ # MCP 集成
│ │ └── tasks/ # 后台任务
│ ├── alembic/ # 数据库迁移
│ └── tests/ # 后端测试
├── frontend/ # React 前端
│ └── src/
│ ├── pages/ # 页面
│ ├── components/ # 组件
│ ├── services/ # API 调用
│ └── stores/ # 状态管理
├── agent/ # 被监控主机 Agent
│ └── nightmend_agent/ # Agent 核心代码
├── charts/ # Helm charts
├── deploy/ # 部署脚本
└── docker-compose*.yml # 多环境部署
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.
- 6d ago First seen · 104 lines · 1,271 tokens per session scan A 15c34357e2e9
nightmend CLAUDE.md is an instructions file published in the GitHub repository LinChuang2008/nightmend (19 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 1,271 tokens to every session, about $0.0064 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-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.