video-clip-agent CLAUDE.md

video-clip-agent CLAUDE.md is an instructions file for Claude Code from neopen/video-clip-agent. It costs 1,211 tokens per session, scanned A, original, MIT.

Project instructions for PenClip, an AI-assisted video editing system driven by natural-language requests. They describe its layered structure, key entry points and compatibility modules.

In plain words
What is it for?
Use them when developing PenClip’s video analysis, clip matching, automatic editing, orchestration, services or API layers.
Why use it?
They give the agent rules for keeping dependencies in the right direction and for knowing where real logic belongs when the project is being changed.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/neopen/video-clip-agent/claude-md
Clone the repo
git clone --depth 1 https://github.com/neopen/video-clip-agent

Made for: Claude Code.

Wrote 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.

agentmods badge for video-clip-agent CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/neopen/video-clip-agent/claude-md.svg)](https://agentmods.dev/instructions/neopen/video-clip-agent/claude-md)
Your own site
<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="Measured on agentmods" height="20"></a>
Per session 1,211 This file is loaded in full into every session.
When invoked 1,211 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01211 $0.01211
Opus 5 $0.00606 $0.00606
Sonnet 5 $0.00242 $0.00242
Haiku 4.5 $0.00121 $0.00121

Measured 6d ago against content hash cd99c2989649, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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 6d 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.

CLAUDE.md · 58 lines

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 语义理解
  • 图编排:LangGraphEngine V0.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.pylogger.py

Bridge 层(向后兼容转发,勿在此改逻辑)

顶层 hub/graph/state/ 是兼容转发模块,真实实现在 core/domain/

  • penclip.hub.hub_corepenclip.core.hub.central_hubget_hub/CentralHub/HubRequest/HubResponse
  • penclip.graph.hub_graphpenclip.core.orchestration.graph_engineget_graph/LangGraphEngine
  • penclip.state.modelsIntentType(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 + version
  • BaseAgent(ABC):declare_capabilities() + execute(params, context),经 CentralHub.register_agent() 接入
  • ExecutionResult(dataclass):success/data/message/suggestions/status
  • AssemblyState(Pydantic):全局会话状态(assets/slots/analysis_results/match_results/global_context/...)

Read the full file on GitHub · 58 lines

Changes

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.

  1. 6d ago First seen · 58 lines · 1,211 tokens per session scan A cd99c2989649

Subscribe to this mod's changes

video-clip-agent CLAUDE.md is an instructions file published in the GitHub repository neopen/video-clip-agent (36 stars, last pushed 5d ago), licensed MIT. It adds 1,211 tokens to every session, about $0.0061 per session on Opus 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.

Related

Other instructions, from other repositories

ai-development-patterns CLAUDE.md

Claude Code instructions for PaulDuvall/ai-development-patterns, covering claude.md, repository overview, repository structure, key architectural principles and pattern architecture.

PaulDuvall/ai-development-patterns · 1,361 tokens

ai-development-patterns AGENTS.md

AGENTS.md instructions for PaulDuvall/ai-development-patterns, covering agent instructions, task tracking, pattern adoption evaluation and landing the plane (session completion).

PaulDuvall/ai-development-patterns · 747 tokens

awesome-claude AGENTS.md

AGENTS.md instructions for JSONbored/awesome-claude, covering heyclaude agent instructions, project intent, source of truth, contribution and content policy and safety and privacy metadata.

JSONbored/awesome-claude · 1,419 tokens

awesome-claude CLAUDE.md

Claude Code instructions for JSONbored/awesome-claude, a project described as: HeyClaude is a curated registry and distribution surface for Claude and AI-workflow assets: agents, MCP servers, skills, commands, hooks, rules, guides, tools, jobs, Raycast feeds, static data exports, and an npm MCP package.

JSONbored/awesome-claude · 39 tokens

lenserfight AGENTS.md

AGENTS.md instructions for conectlens/lenserfight, covering agents.md, 1. think before coding, 2. simplicity first, 3. surgical changes and 4. performance under stress.

conectlens/lenserfight · 1,828 tokens

lenserfight CLAUDE.md

Claude Code instructions for conectlens/lenserfight, a project described as: Turn AI prompts into reusable, versioned Lenses - organize with Tags and Threads, automate as Workflows, configure as Agents, evaluate with Battles.

conectlens/lenserfight · 11 tokens