CLAUDE.md@apps/extensionA

CLAUDE.md@apps/extension from ximing/vital is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add ximing/vital/apps/extension/CLAUDE.md@git:20261021.2674a2a

Pins git:20261021.2674a2a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
ximing/vital
Path
apps/extension/CLAUDE.md
Versions recorded
1
Latest version
git:20261021.2674a2a, committed Oct 21, 2026
Size
1,140 bytes
Repository stars
3
License
none declared

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# `@vital/extension` — 浏览器扩展指令

## 这个目录负责什么

- 基于 WXT 构建的 Chrome MV3 浏览器扩展,用于将当前网页、选中文本或图片一键保存到 Vital 稍后读(Inbox)或待办(Tasks)。

## 放置约束

- **放什么**:
  - `entrypoints/`:WXT 扩展入口(background service worker、content script、popup 页面)。
  - `src/`:页面正文抽取、选区转换、扩展端存储、Bearer 鉴权状态与 API 调用逻辑。
  - `__tests__/`:扩展抽取逻辑与交互的 Vitest 测试。
- **不放什么**:
  - 不要在扩展内重复实现通用的 HTML 清洗或 ArticleDoc 转换算法,应复用 `@vital/article-extract`、`@vital/article-html` 与 `@vital/article-doc`。

## 开发偏好与局部范式

1. **鉴权机制**:
   - 扩展不依赖浏览器 Cookie 鉴权,而是通过 Web 端 `/auth/extension` 签发一次性授权码并换取 Bearer Token。
2. **构建与检查前置步骤**:
   - 运行类型检查或 ESLint 前需要生成 WXT 类型声明(`pnpm --filter @vital/extension typecheck` 与 `lint` 脚本已内置 `wxt prepare`)。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ximing/vital/apps/extension/CLAUDE.md@sha256:de47cff4bc523c5c

The line at the top of this page pins the label git:20261021.2674a2a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wfo3knjzmn7euab4.svg)](https://markdownregistry.com/a/art_wfo3knjzmn7euab4)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 21, 2026.

versioncommittedcommitsizeaudit
git:20261021.2674a2a latest2026-10-21 2674a2a 1,140 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (1140 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ximing/vital · 3 stars · license none declared · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wfo3knjzmn7euab4
GET https://markdownregistry.com/api/v1/resolve?ref=ximing/vital/apps/extension/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/de47cff4bc523c5c5d3c69b41d178c4da5acbdb0c5a27607b1934c7094d1a329

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.

More from ximing/vital

ximing-progressive-project SKILL.md skill
ximing/vital · .claude/skills/ximing-progressive-project/SKILL.md · 把现有项目重构为适合 Claude Code 的持久化指令渐进式加载架构。用户提到“拆分根 CLAUDE.md”、“按目录下沉规则”、“给当前项目设计分层指令文件”、“创建不同目录的 CLAUDE.md”、“补…
git:20261021.2674a2a · audit A · 3 stars
AGENTS.md AGENTS.md file
ximing/vital · AGENTS.md
git:20261017.74432da · audit A · 3 stars
CLAUDE.md CLAUDE.md file
ximing/vital · CLAUDE.md
git:20261021.2674a2a · audit A · 3 stars
CLAUDE.md@apps/mobile CLAUDE.md file
ximing/vital · apps/mobile/CLAUDE.md
git:20261021.2674a2a · audit A · 3 stars
CLAUDE.md@apps/server CLAUDE.md file
ximing/vital · apps/server/CLAUDE.md
git:20261021.2674a2a · audit A · 3 stars
CLAUDE.md@apps/web CLAUDE.md file
ximing/vital · apps/web/CLAUDE.md
git:20261021.2674a2a · audit A · 3 stars
vital SKILL.md skill
ximing/vital · skills/vital/SKILL.md · Operate the user's Vital personal OS (today, inbox, tasks, threads, habits, days, lists, tags, reports, search) through…
git:20260930.747d60d · audit B · 3 stars

Every file in ximing/vital

Browse by kind, by grade A, or by owner.