Agent skill

File Reference

by VanGong1999 in VanGong1999/screen-creative-skills

处理和分析用户上传的文件引用,提取关键信息并提供应用建议。适用于解析@符号引用、自然语言引用、提取短剧策划相关信息. An agent skill from VanGong1999/screen-creative-skills.

MITAuto-check passed

Install File Reference

skills CLI
$ npx skills add VanGong1999/screen-creative-skills --skill file-reference -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install VanGong1999/screen-creative-skills file-reference --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/VanGong1999/screen-creative-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/category/tools/file-reference .claude/skills/file-reference && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
file-reference
GitHub stars
445
Token cost
~579 tokens
SKILL.md length
72 words
Files
3 (incl. scripts, references)
Skills in repo
62
Repo updated
First seen
Licence
MIT

At a glance

处理和分析用户上传的文件引用,提取关键信息并提供应用建议。适用于解析@符号引用、自然语言引用、提取短剧策划相关信息. An agent skill from VanGong1999/screen-creative-skills.

  • SKILL.md covers 功能, 使用场景, 支持的引用格式 and 核心能力, plus 6 more sections
  • Runs Python scripts from its folder

What it does

File Reference is an agent skill from VanGong1999/screen-creative-skills. 处理和分析用户上传的文件引用,提取关键信息并提供应用建议。适用于解析@符号引用、自然语言引用、提取短剧策划相关信息

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/examples.md` and `scripts/file_reference.py`). Compatibility notes: Claude Code 1.0+

The repository describes itself as: Skills for Film and Television Creation Agents|31 个影视创作评估策划Agent Skills|AI影视自动化工作流|竖屏短剧长剧IP改编|情节题材提炼|剧本小说IP创作策划评估|人物小传|拉片人物剧集故事五元素分析|大纲生成|. The licence is MIT.

Example prompts

  • “/file-reference”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Claude Code 1.0+
  • Pre-approved tools (allowed-tools): Read

What it can do on your machine

Read from SKILL.md and the folder at commit 6ced54f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Claude Code 1.0+

    From compatibility in the SKILL.md frontmatter.

Context cost

File Reference loads about 579 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 18 tokens; SKILL.md has 72 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~18
When it runs · the whole SKILL.md, loaded when a task matches
~579
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from VanGong1999/screen-creative-skills at commit 6ced54f, republished under its MIT licence (© VanGong1999). 72 words, ~579 tokens.

Download SKILL.mdSave it as .claude/skills/file-reference/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
file-reference
description
处理和分析用户上传的文件引用,提取关键信息并提供应用建议。适用于解析@符号引用、自然语言引用、提取短剧策划相关信息
allowed-tools
Read
compatibility
Claude Code 1.0+
category
tools
version
2.1.0
last_updated
2026-01-11
license
MIT
maintainer
宫凡
model
opus

文件引用解析专家

功能

处理和分析用户上传的文件引用,提取关键信息并提供结构化输出与应用建议。

使用场景

  • 解析用户在对话中引用的本地文件或URL链接。
  • 从文件中提取核心信息,支持智能体理解和利用文件内容。
  • 为短剧策划提供文件内容的应用建议,辅助创作。
  • 自动化处理各类文件引用,提升工作流效率。

支持的引用格式

@符号引用
  • @文件1 - 文档文件引用
  • @图片1 - 图片文件引用
  • @pdf文档 - PDF文档引用
自然语言引用
  • "第一个文件"、"第二个文件" - 序号引用
  • "最新上传的文件" - 时间引用
  • "那个图片文件" - 类型引用

核心能力

  • 文件引用解析: 准确识别和解析各种文件引用格式(@符号、自然语言)。
  • 内容提取: 从引用的文件中提取关键信息和核心内容。
  • 结构化输出: 将文件内容以结构化方式呈现,便于理解和利用。
  • 应用建议: 针对文件内容提供在短剧策划中的具体应用建议。

输入要求

  • 文件引用: 用户提供的文件引用(如 @剧本初稿.docx 或 "刚刚上传的图片")。
  • 分析需求(可选): 指定需要从文件中提取的特定信息或分析重点。

输出格式

## 文件引用分析报告

### 引用摘要
- 引用类型: [@符号引用/自然语言引用]
- 文件类型: [文档/图片/PDF/其他]
- 文件名称: [文件名]

### 文件内容概览
[简要描述文件的主要内容和核心信息]

### 关键信息提取
1. [关键信息点1]
2. [关键信息点2]
3. [关键信息点3]

### 短剧策划应用建议
1. **人物设定**: [如何用于人物角色设计]
2. **情节设计**: [如何用于情节结构规划]
3. **商业化**: [如何用于商业化元素设计]

约束条件

  • 确保文件内容分析的准确性和全面性。
  • 重点关注与竖屏短剧策划相关的内容,避免无关信息。
  • 提供具体、可操作的应用建议,辅助用户创作决策。
  • 避免在输出中引入任何幻觉或不实信息。

示例

参见 {baseDir}/references/examples.md 目录获取更多详细示例:

  • examples.md - 包含各种文件类型(如文档、图片、PDF)引用解析和应用建议的详细示例。

详细文档

参见 {baseDir}/references/examples.md 获取关于文件引用解析的详细指导与案例。


版本历史

版本日期变更
2.1.02026-01-11优化 description 字段,使其更精简并符合命令式语言规范;模型更改为 opus;优化功能、支持的引用格式、核心能力、输入要求、输出格式的描述,使其更符合命令式语言规范;添加使用场景、约束条件、示例和详细文档部分。
2.0.02026-01-11按官方规范重构
1.0.02026-01-10初始版本

© VanGong1999, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts, references) in category/tools/file-reference of VanGong1999/screen-creative-skills.

  • SKILL.md
  • references/examples.md
  • scripts/file_reference.py

Open the folder on GitHubat commit 6ced54f

More from VanGong1999/screen-creative-skills

All 62 skills in this repo
  • Drama Creator

    VanGong1999/screen-creative-skills

    Create vertical short drama scripts covering macro construction, episode writing, precise optimization, and creative ideation using Emotional Spring Theory.

    445 GitHub stars~2.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Drama Workflow

    VanGong1999/screen-creative-skills

    Orchestrate the full plot-point dramatic function analysis pipeline — text preprocessing, parallel segment analysis, result integration, and report generation — for long-form story content.

    445 GitHub stars~850 tokensUpdated 4 mo ago
    Auto-check passed
  • Novel Evaluator

    VanGong1999/screen-creative-skills

    Evaluate and score story text across market potential, innovation attributes, and content highlights dimensions, producing structured scoring reports with development recommendations.

    445 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Script Evaluator

    VanGong1999/screen-creative-skills

    Evaluate film and TV scripts across ideological, artistic, and entertainment value dimensions, producing structured scoring reports with follow-up recommendations.

    445 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Character Profile

    VanGong1999/screen-creative-skills

    基于故事文本分析人物特征,生成详细的人物小传。适用于深度理解故事人物设定、为演员塑造角色提供参考、为剧本创作建立人物档案

    445 GitHub starsUsed in 1 repo~609 tokens
    Auto-check passed
  • Story Five Elements

    VanGong1999/screen-creative-skills

    Analyze five core story elements — genre type, story summary, character biographies, character relationships, and major plot points — producing a structured comprehensive report with optional mind…

    445 GitHub stars~781 tokensUpdated 4 mo ago
    Auto-check passed

Questions about File Reference

What does File Reference do?

处理和分析用户上传的文件引用,提取关键信息并提供应用建议。适用于解析@符号引用、自然语言引用、提取短剧策划相关信息. An agent skill from VanGong1999/screen-creative-skills. File Reference is an agent skill from VanGong1999/screen-creative-skills.

How do I install File Reference in Claude Code?

Run `npx skills add VanGong1999/screen-creative-skills --skill file-reference -a claude-code`. Or copy the skill folder (category/tools/file-reference in VanGong1999/screen-creative-skills) into .claude/skills/file-reference in your project. Claude Code loads it when a task matches its description.

How do I install File Reference in Codex?

Run `npx skills add VanGong1999/screen-creative-skills --skill file-reference -a codex`. Or copy the skill folder (category/tools/file-reference in VanGong1999/screen-creative-skills) into .agents/skills/file-reference in your project. Codex loads it when a task matches its description.

Can I use File Reference in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add VanGong1999/screen-creative-skills --skill file-reference -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/file-reference, .gemini/skills/file-reference, .github/skills/file-reference and .opencode/skills/file-reference in your project.

What does File Reference need to run?

Going by SKILL.md and its folder, File Reference needs Python for the scripts in its folder. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read. Compatibility (from SKILL.md): Claude Code 1.0+.

Does File Reference access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is File Reference safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does File Reference use?

File Reference is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does File Reference use?

About 579 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 529 tokens, read only when the agent opens those files.

Who maintains File Reference?

VanGong1999 (a GitHub user) maintains it in VanGong1999/screen-creative-skills, which has 445 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on May 26, 2026.

Source: VanGong1999/screen-creative-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.