Borrowing it
Nothing to install: this file belongs to neopen/video-clip-agent. 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/neopen/video-clip-agent/main/CLAUDE.mdgit clone --depth 1 https://github.com/neopen/video-clip-agentWrote 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/neopen/video-clip-agent/claude-md)<a href="https://agentmods.dev/instructions/neopen/video-clip-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/neopen/video-clip-agent/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/neopen/video-clip-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/neopen/video-clip-agent/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.01191 | $0.01191 |
| Opus 5.5 | $0.00476 | $0.00476 |
| Sonnet 5.5 | $0.00238 | $0.00238 |
| Haiku 4.5 | $0.00119 | $0.00119 |
Grade A, and why
video-clip-agent 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 22d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- video-clip-agent AGENTS.md — 91% identical, 8 lines differ
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PenClip — 视频混剪智能体
基于星型中枢分发架构的 AI 视频混剪系统:自然语言驱动视频分析、片段匹配与自动合成。核心理念「人机协同」—— AI 辅助而非替代创作者。
当前状态
- 版本:V0.1(DDD 分层骨架),开发分支
dev - 顶层架构:星型中枢分发(
CentralHub)+ 线性链路工作流(首个注册能力) - 意图识别:V0.1 关键词匹配(
IntentRecognizer),V0.2 才升级 LLM 语义理解 - 图编排:
LangGraphEngineV0.1 仅 stub,V0.2 真正接入 LangGraph
分层架构(依赖方向:外层 → 内层,内层禁止反向依赖)
domain/ 领域层:实体(Pydantic) + 值对象(dataclass/enum) + 仓储接口 —— 零依赖
core/ 应用层:hub 分发 / orchestration / state / event —— 依赖 domain
agents/ 智能体:BaseAgent + Planner/Analyzer/Matcher/Composer —— 依赖 domain+core
services/ 服务层:llm/clip/ffmpeg/scene_detect/vector/file —— 多为 V0.2 stub
infrastructure/ 基础设施:postgres/minio/redis/cache/messaging —— 实现仓储接口,多为 stub
api/ 接入层:v1 REST / middleware / websocket / schemas
cli/ CLI 入口
plugins/ 插件系统 + Docker 沙箱(V2.0)
遗留层(仍在使用,逐步迁移):client/(多 AI 提供商)、tools/(6 个视频分析工具)、utils/(ffmpeg/redis/path/log 等)、config/config.py、logger.py
Bridge 层(向后兼容转发,勿在此改逻辑)
顶层 hub/、graph/、state/ 是兼容转发模块,真实实现在 core/、domain/:
penclip.hub.hub_core→penclip.core.hub.central_hub(get_hub/CentralHub/HubRequest/HubResponse)penclip.graph.hub_graph→penclip.core.orchestration.graph_engine(get_graph/LangGraphEngine)penclip.state.models→IntentType(domain) +TaskLifecycleStage(core.state)
关键入口
from penclip.hub.hub_core import get_hub # 中枢单例
from penclip.graph.hub_graph import get_graph # 图引擎(stub)
from penclip.state.models import IntentType, TaskLifecycleStage
from penclip.domain.value_objects.intent import IntentType # 真实定义处
启动:python main.py(→ penclip.app:app FastAPI,默认 http://localhost:8000,`/docs` 交互文档)
核心契约(开发必读)
IntentType(str Enum):30+ 意图,6 类 —— 规划/分析/素材/效果/状态/通用CapabilityDeclaration(dataclass):name+intents+input_schema/output_schema+risk_level+versionBaseAgent(ABC):declare_capabilities()+execute(params, context),经CentralHub.register_agent()接入ExecutionResult(dataclass):success/data/message/suggestions/statusAssemblyState(Pydantic):全局会话状态(assets/slots/analysis_results/match_results/global_context/...)
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.
- 22d ago Changed · -20 tokens per session 0736075800fd
- 2mo ago First seen · 58 lines · 1,211 tokens per session scan A cd99c2989649
video-clip-agent CLAUDE.md is an instructions file published in the GitHub repository neopen/video-clip-agent (45 stars, last pushed 9d ago), licensed MIT. It adds 1,191 tokens to every session, about $0.0048 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.
video-clip-agent CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| video-clip-agent CLAUDE.mdneopen/video-clip-agent | Instructions file | 45 | 9d ago | MIT | A | 1,191 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| 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 model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |