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/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.
<a href="https://agentmods.dev/instructions/linchuang2008/nightmend/claude-md"><img src="https://agentmods.dev/badge/instructions/linchuang2008/nightmend/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.5 | $0.00508 | $0.00508 |
| Sonnet 5.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 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.
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.
- 2mo 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 4mo ago), licensed Apache-2.0. It adds 1,271 tokens to every session, about $0.0051 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.
nightmend CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nightmend CLAUDE.mdLinChuang2008/nightmend | Instructions file | 19 | 4mo ago | Apache-2.0 | A | 1,271 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |