Borrowing it
Nothing to install: this file belongs to lqomg/ClueArk. 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/lqomg/ClueArk/main/AGENTS.mdgit clone --depth 1 https://github.com/lqomg/ClueArkWrote 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/lqomg/clueark/agents-md)<a href="https://agentmods.dev/instructions/lqomg/clueark/agents-md"><img src="https://agentmods.dev/badge/instructions/lqomg/clueark/agents-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/lqomg/clueark/agents-md"><img src="https://agentmods.dev/badge/instructions/lqomg/clueark/agents-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.02255 | $0.02255 |
| Opus 5.5 | $0.00902 | $0.00902 |
| Sonnet 5.5 | $0.00451 | $0.00451 |
| Haiku 4.5 | $0.00226 | $0.00226 |
Grade A, and why
ClueArk AGENTS.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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ClueArk 协作说明
本文档归纳仓库布局、部署与本地开发的常用入口。完整功能说明见 README.md(英文)、README_ZH.md(中文);爬虫服务见 crawler/README.md。
概述
ClueArk(线索方舟):面向个人与团队的 AI 情报聚合平台。围绕话题监控聚合 RSS/Atom、网页列表(独立爬虫)、JSON 热点 API 等公开信源;可选接入 DeepSeek 兼容 API 做条目富化、OpenAI 兼容 Embeddings 做语义匹配与相似报道聚类。技术栈:React 18 + TypeScript + Vite(前端)、NestJS + MongoDB(Mongoose)(主 API)、独立 NestJS 爬虫服务(Cheerio)、Docker Compose 部署。
仓库结构
| 路径 | 说明 |
|---|---|
frontend/ |
用户 Web 前端(Vite + React) |
admin-web/ |
独立运营后台(Vite + React + Ant Design;仅 admin 登录) |
backend/ |
主 HTTP API(NestJS);运营能力在 /api/admin/* |
crawler/ |
Web 列表页爬虫服务,与主站契约对齐上报 |
data/ |
内置信源种子等(如 built-in-catalog.json) |
docker-compose.yml |
推荐部署入口:MongoDB + backend + web + admin-web + crawler |
.env.example |
根目录 Compose 环境变量模板(复制为 .env) |
backend/.env.example、crawler/.env.example |
本地开发参考 |
后端模块(backend/src/modules/)
feed-items/— 条目、采集 ingest、RSS/热点等管线(无用户向列表 API)sources/— 统一信源池;RSS/热点轮询由 worker 内SourcePollScheduler调度worker-scheduler/— 仅 worker 进程:@Cron(信源轮询、快照/Brief 入队、相似聚类维护)monitors/— 话题监控、monitor_snapshots物化读模型vector-store/— Qdrant 向量 upsert/search(禁止 HTTP 读路径做余弦)queue/— BullMQ 流水线;worker容器(node dist/worker)消费notifications/— 匹配通知(站内)monitor-pipeline/— ingest 后 embed → match → notifyllm/— 条目富化(enrich_llm队列;仅监控信源经 pipeline 入队,无 Cron 扫全库)aggregation-policy/— 聚合策略admin/、auth/、users/— 管理与认证
爬虫实现在 crawler/src/(按 nextPollAt 拉取 Web 信源,详见 crawler/README.md)。
架构约束(监控优先)
- Mongo 仅存业务字段,不存
simEmbed*/descriptionEmbedding等向量数组。 - 相似检索 仅经
VectorStoreService→ Qdrant;HTTP 读 API 禁止cosineSimilarity。 - 通知路径:新条目(仅
monitoredByCount > 0信源)→pipeline:process_new_item→ 站内通知;不等待 LLM 富化。 - 列表/研判:
GET /monitors读monitor_snapshots;GET /monitors/:id/intelligence禁止同步全量打分。 - Compose 栈:
mongodb+redis+qdrant+worker(必须先就绪;Cron + BullMQ 消费)+backend(HTTP + 入队,无@Cron)+web(用户产品)+admin-web(运营后台)+crawler。 - 启动校验:
REDIS_URL、QDRANT_URL、FEED_EMBEDDING_API_KEY、DEEPSEEK_API_KEY必填;Mongo/Redis/Qdrant 连不上则进程退出;API 启动前等待 worker Redis 心跳。本地npm run dev同时起 API 与 worker。 - 前端:用户产品默认
/app/monitors;运营后台为独立 SPA(admin-web/,POST /api/admin/auth/login)。主站已移除 embedded/app/admin/*。
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 · 107 lines · 2,255 tokens per session scan A 51ab2d76441e
ClueArk AGENTS.md is an instructions file published in the GitHub repository lqomg/ClueArk (53 stars, last pushed 3mo ago), licensed MIT. It adds 2,255 tokens to every session, about $0.0090 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.
ClueArk AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ClueArk AGENTS.mdlqomg/ClueArk | Instructions file | 53 | 3mo ago | MIT | A | 2,255 | Codex, OpenCode |
| 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 |