Borrowing it
Nothing to install: this file belongs to liuh886/ownly. 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/liuh886/ownly/main/CLAUDE.mdgit clone --depth 1 https://github.com/liuh886/ownlyWrote 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/liuh886/ownly/claude-md)<a href="https://agentmods.dev/instructions/liuh886/ownly/claude-md"><img src="https://agentmods.dev/badge/instructions/liuh886/ownly/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/liuh886/ownly/claude-md"><img src="https://agentmods.dev/badge/instructions/liuh886/ownly/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.00770 | $0.00770 |
| Opus 5.5 | $0.00308 | $0.00308 |
| Sonnet 5.5 | $0.00154 | $0.00154 |
| Haiku 4.5 | $0.00077 | $0.00077 |
Grade A, and why
ownly 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.
What it actually says
@AGENTS.md
Ownly 项目开发必读 (Developer Workflow)
架构概览与多端运行时
Ownly 是一个 Local-First 的所有物决策与旅行规划系统,由 5 个核心运行时组成:
- Web App / PWA (
src/app/,src/components/) — 基于 Next.js Turbopack 构建的独立 Web 决策台与行程规划工作台。 - Obsidian Plugin (
src/obsidian/) — 嵌入 Obsidian 的原生插件视图。 - Capture Chrome Extension (
src/extension/,extension/) — MV3 Chromium 侧边栏与 6 大平台页面采集器。 - Local MCP Server (
packages/mcp/) — 面向 Claude / Codex / 智能体系统的两阶段确认事实接口。 - Agent CLI (
scripts/cli/) — 确定性本地 Markdown 操作终端工具。
路径别名
| 别名 | 路径 | 说明 |
|---|---|---|
@repo |
D:\Documents\GitHub\Ownly |
源码仓库主目录 |
@vault |
D:\Documents\zhihaol |
本地 Obsidian 测试 Vault |
@plugin |
D:\Documents\zhihaol\.obsidian\plugins\ownly |
Obsidian 插件运行时目录 |
开发与验证门禁 (Quality Gates)
在提交任何代码前,必须执行并通过以下对应校验门禁:
# 1. 快速静态检查 (TypeScript + ESLint + Terminology + Membership)
npm run validate:fast
# 2. Chrome Extension 校验 (Manifest + Build + 单元测试)
npm run validate:extension
# 3. 共享契约与运行时对齐测试 (MCP + CLI + Planner + Parity)
npm run validate:shared
# 4. Next.js 生产环境构建校验
npm run build
Obsidian 插件同步规则
当开发涉及 Obsidian 插件相关代码(src/obsidian/)时,构建后需同步产物至本地测试 Vault:
# 构建 Obsidian 插件产物
npm run build:obsidian
# 同步至本地测试 Vault
cp main.js /path/to/vault/.obsidian/plugins/ownly/main.js
cp styles.css /path/to/vault/.obsidian/plugins/ownly/styles.css
cp manifest.json /path/to/vault/.obsidian/plugins/ownly/manifest.json
Git 提交与推送规则 (P0)
每次集中完成功能开发或缺陷修复后:
git add相关变更文件(避免夹带无关临时文件)git commit -m "feat/fix/chore: <清晰描述>"git push origin <branch>保持远程同步
标准开发流程 (Checklist)
- ✅ 编写/修改源码 (
src/) - ✅ 执行对应自动化测试与验证门禁 (
npm run validate:fast等) - ✅ 必要时构建多端产物 (
npm run build,npm run build:extension) - ✅ 更新文档与
tasks/todo.md - ✅ Git commit + push
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 Changed · +7 lines · +135 tokens per session cfd11b06a5cf
- 2mo ago First seen · 63 lines · 635 tokens per session scan A 97e145145b78
ownly CLAUDE.md is an instructions file published in the GitHub repository liuh886/ownly (3 stars, last pushed 15d ago), licensed MIT. It adds 770 tokens to every session, about $0.0031 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-31.
ownly CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ownly CLAUDE.mdliuh886/ownly | Instructions file | 3 | 15d ago | MIT | A | 770 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |