linkfox-aigc-textgen

linkfox-aigc-textgen is a skill for Claude Code, Codex from linkfox-ai/linkfox-skills. It costs 122 tokens per session (2,815 once invoked), scanned A, original, MIT.

A text-generation tool that uses language models to write or analyse text, optionally using images or videos as input. It offers a faster model and a model intended for more complex analysis.

In plain words
What is it for?
Writing copy, translating, analysing images or videos, producing longer text, and handling tasks that need different levels of reasoning.
Why use it?
It helps turn instructions and media into written output without requiring the agent to draft or analyse everything manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is python ../linkfox-aigc-imagegen/scripts/aigc_imagegen.py "$PARAMS".

Good fit Writing copy, translating, analysing images or videos, producing longer text, and handling tasks that need different levels of reasoning.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/linkfox-ai/linkfox-skills
agentmods
npx agentmods add skills/linkfox-ai/linkfox-skills/linkfox-aigc-textgen

Made for: Claude Code, Codex.

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 linkfox-aigc-textgen

README.md
[![agentmods](https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-textgen/github.svg)](https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-textgen)
Your own site
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-textgen"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-textgen/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.

agentmods 80×15 button for linkfox-aigc-textgen

Your own site · 80×15
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-textgen"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-textgen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,815 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00122 $0.02815
Opus 5 $0.00061 $0.01407
Sonnet 5 $0.00024 $0.00563
Haiku 4.5 $0.00012 $0.00281

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

Security

Grade A, and why

linkfox-aigc-textgen 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 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/aigc_textgen.py, scripts/onboarding.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/linkfox-aigc-textgen/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI 生文

使用大语言模型根据提示词生成文本内容,支持传入图片, 视频等进行图文结合,视频文本理解和分析。

核心特点

  • 双模型选择:快速响应(GEM_3_FLASH)和高质量复杂分析(GEM_3_1_PRO)。
  • 图文/视频内容结合imageUrls 同时支持图片与视频 URL;图片最多 10 张,视频通常传 1 个。
  • 思考深度可控:4 级 thinkingLevel 控制推理深度。
  • 异步两步调用:创建任务后立即返回 taskId,客户端轮询查询结果,避免长耗时同步超时。

模型说明

模型(model) 说明 适用场景
GEM_3_FLASH 快速响应(默认) 常规文案、简单分析、翻译
GEM_3_1_PRO 高质量复杂分析 深度分析、长文写作、复杂推理

思考等级

thinkingLevel 说明
minimal 接近无思考(GEM_3_1_PRO 不支持)
low 低思考
medium 平衡
high 最大推理深度

参数概览

  • 必填字段promptimageUrls(无图片且无视频时传空数组 [])、thinkingLevel(必须显式传入,建议默认 minimal
  • 媒体 URL 约定:图片与视频 URL 均通过 imageUrls 传递(如视频分析传 ["https://example.com/ref.mp4"]);勿使用未文档化字段(如 videoUrlvideoUrls

完整参数表、响应字段结构与错误码,见 references/api.md

调用方式

采用异步两步模式(与 imagegen 一致):

  1. 创建任务POST /aigc/textGenAsync → 返回 taskId
  2. 轮询查询POST /aigc/textTaskQuery → 返回 PROCESSING / SUCCESS / FAILED
  • Python 脚本(内部已封装创建+轮询,传参方式不变):
    • python scripts/aigc_textgen.py --stdin推荐,从 stdin 读取 JSON 参数,避免 shell 转义问题(如 python scripts/aigc_textgen.py --stdin < params.json
    • python scripts/aigc_textgen.py --stdin --content-only — 只输出 content 文本(同样已是单行)
    • python scripts/aigc_textgen.py '<JSON 参数>' [--inline] — 简单场景直传(prompt 含换行符时禁用

轮询策略:单次 HTTP 超时 150 秒;轮询间隔从 10 秒起递减至 5 秒;总轮询时长最长 600 秒。完整参数/响应/错误码见 references/api.md

换行符压平默认开启(无需任何 flag):所有输出模式下,content 的换行都会自动替换为单字符 (U+23CE),整段 content 变成单行;--content-only 只是改变"输出 content 文本 vs 完整 JSON",不影响该压平行为。

输出契约(其他 agent 按此解析)

  • stdout 只放机器数据,始终可 json.loads--content-only 例外,其 stdout 是纯文本 content):
    • 默认(小结果)/ --inline:stdout = 完整响应 JSON
    • 大结果:stdout = JSON 信封 {"ok":bool, "truncated":true, "savedPath":"<路径>", "bytes":int, "content":"<单行文本>"}
  • 所有提示/摘要/诊断(CHAIN-HINT、Saved full response、summarize)一律走 stderr,不污染 stdout。
  • 退出码:成功 0;失败(网络错误 / errcode 非 200 / status==FAILED)非 0 —— agent 应优先用退出码判错。

Read the full file on GitHub · 182 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 182 lines · 122 tokens per session scan A ae85f94ad51b

Subscribe to this mod's changes

linkfox-aigc-textgen is a skill published in the GitHub repository linkfox-ai/linkfox-skills (101 stars, last pushed 21d ago), licensed MIT. It adds 122 tokens to every session and 2,815 once invoked, about $0.0006 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 skills, from other repositories

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

prompt-optimization

Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…

langwatch/langwatch · 105 tokens

enhance-prompt

Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

google-labs-code/stitch-skills · 41 tokens

prompt-engineer

Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot…

Jeffallan/claude-skills · 93 tokens

seedance-vocab-en

This skill should be used when an English Seedance 2.0 prompt needs clearer production wording, less generic prose, or precise vocabulary for camera, lighting, motion, VFX, audio, and constraints. Route blocked prompts through seedance-filter for context and boundary review.

Emily2040/seedance-2.0 · 61 tokens

ideogram4

Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors, or controlled spatial layout. Triggers…

digitalsamba/claude-code-video-toolkit · 99 tokens