Text Expansion
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing CSS for fixed dimensions, truncation, or overflow rules on elements that render translatable strings.
智能截断文本,保持内容的完整性和语义连贯性。适用于长文本预处理、确保文本不超过指定长度限制. An agent skill from VanGong1999/screen-creative-skills.
$ npx skills add VanGong1999/screen-creative-skills --skill text-truncator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install VanGong1999/screen-creative-skills text-truncator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/VanGong1999/screen-creative-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/category/tools/text-truncator .claude/skills/text-truncator && rm -rf skills-srcUse ~/.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/
Install the "text-truncator" agent skill from https://github.com/VanGong1999/screen-creative-skills/tree/master/category/tools/text-truncator into .claude/skills/text-truncator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-truncator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/VanGong1999/screen-creative-skills/tree/master/category/tools/text-truncatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add VanGong1999/screen-creative-skills --skill text-truncator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install VanGong1999/screen-creative-skills text-truncator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VanGong1999/screen-creative-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/category/tools/text-truncator .agents/skills/text-truncator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "text-truncator" agent skill from https://github.com/VanGong1999/screen-creative-skills/tree/master/category/tools/text-truncator into .agents/skills/text-truncator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-truncator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add VanGong1999/screen-creative-skills --skill text-truncator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install VanGong1999/screen-creative-skills text-truncator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VanGong1999/screen-creative-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/category/tools/text-truncator .cursor/skills/text-truncator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "text-truncator" agent skill from https://github.com/VanGong1999/screen-creative-skills/tree/master/category/tools/text-truncator into .cursor/skills/text-truncator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-truncator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/VanGong1999/screen-creative-skills.git --path category/tools/text-truncator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add VanGong1999/screen-creative-skills --skill text-truncator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install VanGong1999/screen-creative-skills text-truncator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VanGong1999/screen-creative-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/category/tools/text-truncator .gemini/skills/text-truncator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "text-truncator" agent skill from https://github.com/VanGong1999/screen-creative-skills/tree/master/category/tools/text-truncator into .gemini/skills/text-truncator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-truncator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install VanGong1999/screen-creative-skills text-truncatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add VanGong1999/screen-creative-skills --skill text-truncator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/VanGong1999/screen-creative-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/category/tools/text-truncator .github/skills/text-truncator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "text-truncator" agent skill from https://github.com/VanGong1999/screen-creative-skills/tree/master/category/tools/text-truncator into .github/skills/text-truncator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-truncator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add VanGong1999/screen-creative-skills --skill text-truncator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install VanGong1999/screen-creative-skills text-truncator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VanGong1999/screen-creative-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/category/tools/text-truncator .opencode/skills/text-truncator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "text-truncator" agent skill from https://github.com/VanGong1999/screen-creative-skills/tree/master/category/tools/text-truncator into .opencode/skills/text-truncator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-truncator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
text-truncator智能截断文本,保持内容的完整性和语义连贯性。适用于长文本预处理、确保文本不超过指定长度限制. An agent skill from VanGong1999/screen-creative-skills.
Text Truncator is an agent skill from VanGong1999/screen-creative-skills. 智能截断文本,保持内容的完整性和语义连贯性。适用于长文本预处理、确保文本不超过指定长度限制
Its SKILL.md is about 520 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/text_truncator.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.
Read from SKILL.md and the folder at commit 6ced54f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Claude Code 1.0+
From compatibility in the SKILL.md frontmatter.
Text Truncator loads about 519 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 15 tokens; SKILL.md has 59 words of instructions outside code blocks.
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.
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.
The full file from VanGong1999/screen-creative-skills at commit 6ced54f, republished under its MIT licence (© VanGong1999). 59 words, ~519 tokens.
.claude/skills/text-truncator/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.智能截断文本,在保持内容完整性和语义连贯性的前提下,将文本截断至指定长度。
【文本截断报告】
- 原始文本长度: [整数] 字/Token
- 截断后长度: [整数] 字/Token
- 截断位置: [位置描述,如 "在第X句末尾"] 或 "未截断"
### 截断后的文本
[截断后的文本内容]参见 {baseDir}/references/examples.md 目录获取更多详细示例:
examples.md - 包含不同长度、不同截断标记和复杂文本结构的截断示例。参见 {baseDir}/references/examples.md 获取关于文本截断工具的详细指导与案例。
| 版本 | 日期 | 变更 |
|---|---|---|
| 2.1.0 | 2026-01-11 | 优化 description 字段,使其更精简并符合命令式语言规范;模型更改为 opus;优化功能、核心能力、输入要求、输出格式的描述,使其更符合命令式语言规范;添加使用场景、约束条件、示例和详细文档部分。 |
| 2.0.0 | 2026-01-11 | 按官方规范重构 |
| 1.0.0 | 2026-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
SKILL.md and 2 other files (scripts, references) in category/tools/text-truncator of VanGong1999/screen-creative-skills.
Open the folder on GitHubat commit 6ced54f
Text Truncator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Text Truncator this skillVanGong1999/screen-creative-skills | 446 | — | ~519 | Automated safety check: Pass | MIT | |
| Text Expansionthedaviddias/Front-End-Checklist | 74k | — | ~534 | Automated safety check: Pass | MIT | |
| Hugging Face TokenizersOrchestra-Research/AI-Research-SKILLs | 13k | 6 repos | ~3.4k | Automated safety check: Pass | MIT | |
| Subject Line Labaaron-he-zhu/aaron-marketing-skills | 2.9k | 2 repos | ~3.6k | Automated safety check: Pass | Apache-2.0 | |
| Fetchtinyfish-io/tinyfish-cookbook | 2.2k | — | ~772 | Automated safety check: Pass | MIT | |
| Bio Data Visualization Volcano And Ma PlotsGPTomics/bioSkills | 1.2k | 2 repos | ~5.3k | Automated safety check: Pass | MIT |
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing CSS for fixed dimensions, truncation, or overflow rules on elements that render translatable strings.
Orchestra-Research/AI-Research-SKILLs
Shows how to load, train and use fast Hugging Face tokenizers, with BPE, WordPiece and Unigram models, padding, truncation and alignment tracking.
aaron-he-zhu/aaron-marketing-skills
A skill your agent uses when the user asks to "generate subject line variants", "pre-score my subject lines", or "will this subject get truncated / trigger spam filters"; produces a labeled subject…
tinyfish-io/tinyfish-cookbook
Default, free, and fastest way to read a URL's actual content — pulls clean, full page content (not a summary or a truncated snippet) as markdown, HTML, or structured JSON, including from…
GPTomics/bioSkills
Build volcano and MA plots from differential-expression / association results with LFC shrinkage, FDR-adjusted thresholds, sensible label placement, and axis-truncation conventions.
GPTomics/bioSkills
Detect single-nucleotide crosslink (CL) sites in CLIP-seq data using truncation patterns (iCLIP/eCLIP CITS), crosslink-induced mutations (HITS-CLIP CIMS deletions, PAR-CLIP T-to-C), or…
VanGong1999/screen-creative-skills
Create vertical short drama scripts covering macro construction, episode writing, precise optimization, and creative ideation using Emotional Spring Theory.
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.
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.
VanGong1999/screen-creative-skills
Evaluate film and TV scripts across ideological, artistic, and entertainment value dimensions, producing structured scoring reports with follow-up recommendations.
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…
VanGong1999/screen-creative-skills
基于故事文本分析人物特征,生成详细的人物小传。适用于深度理解故事人物设定、为演员塑造角色提供参考、为剧本创作建立人物档案
智能截断文本,保持内容的完整性和语义连贯性。适用于长文本预处理、确保文本不超过指定长度限制. An agent skill from VanGong1999/screen-creative-skills. Text Truncator is an agent skill from VanGong1999/screen-creative-skills.
Run `npx skills add VanGong1999/screen-creative-skills --skill text-truncator -a claude-code`. Or copy the skill folder (category/tools/text-truncator in VanGong1999/screen-creative-skills) into .claude/skills/text-truncator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add VanGong1999/screen-creative-skills --skill text-truncator -a codex`. Or copy the skill folder (category/tools/text-truncator in VanGong1999/screen-creative-skills) into .agents/skills/text-truncator in your project. Codex loads it when a task matches its description.
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 text-truncator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/text-truncator, .gemini/skills/text-truncator, .github/skills/text-truncator and .opencode/skills/text-truncator in your project.
Going by SKILL.md and its folder, Text Truncator needs Python for the scripts in its folder. Our summary lists: Python 3. Compatibility (from SKILL.md): Claude Code 1.0+.
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.
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.
Text Truncator is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 519 tokens (SKILL.md is roughly 2.1k 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 531 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Text Truncator: Text Expansion (thedaviddias/Front-End-Checklist, 74k stars), Hugging Face Tokenizers (Orchestra-Research/AI-Research-SKILLs, 13k stars), Subject Line Lab (aaron-he-zhu/aaron-marketing-skills, 2.9k stars) and Fetch (tinyfish-io/tinyfish-cookbook, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
VanGong1999 (a GitHub user) maintains it in VanGong1999/screen-creative-skills, which has 446 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.