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.
npx agentmods add agents/liusencomic-cyber/douyin-agent-kit/generic-agentgit clone --depth 1 https://github.com/liusencomic-cyber/douyin-agent-kitWrote 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/agents/liusencomic-cyber/douyin-agent-kit/generic-agent)<a href="https://agentmods.dev/agents/liusencomic-cyber/douyin-agent-kit/generic-agent"><img src="https://agentmods.dev/badge/agents/liusencomic-cyber/douyin-agent-kit/generic-agent.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00477 |
| Opus 5 | $0.00000 | $0.00238 |
| Sonnet 5 | $0.00000 | $0.00095 |
| Haiku 4.5 | $0.00000 | $0.00048 |
Grade A, and why
generic-agent 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 5d 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.
What it actually says
通用 Agent 接入说明(generic-agent)
适用于任意本地 Agent,包括 Claude Code / Codex / 其他 CLI 编码 Agent。 通用能力契约见 adapter-contract.md。
若你的 Agent 不在 agents/ 单独成文,按本文接入即可;设置向导
(setup/setup_douyin_agent_kit.py)选择 agent: generic 或 claude-code / codex
时生成的 AGENT_SETUP.md 也指向本文。
视觉调用
- 默认配置
vision.ocr_provider: agent-vision意为"由 Agent 提供视觉"。 你的 Agent 有视觉工具(能读图/识别文字)就用它;如你的 Agent 无此能力, 把ocr_provider改为tesseract(本地 OCR,需安装 tesseract)或none。 - 语义判断走本地 Ollama(
vision.judge_provider: ollama,ollama pull qwen2.5:7b),与你的 Agent 无关。
确认交互
- 下载、扫码登录、批量同步、归档/投递前,先向用户确认。
- 收藏/博主批量操作低频执行(每天最多一次),遇风控即停。
定时(可选)
- 你的 Agent 支持定时/后台任务时,可为批量同步配置每日任务;
否则手动触发,并把
features.favorites_sync/features.creator_distill如实设为false。
投递
- 归档笔记写入
archive.vault_inbox(Obsidian Vault 收件箱路径)。 - 未启用归档时,转录汇总/判断结果写入脚本输出路径。
脚本运行
- 系统
python3;依赖:python3 -m pip install -r requirements.txt(PEP 668 环境加--break-system-packages)。 - 先跑
python3 setup/checks.py,确认无 MISSING 再运行主流程。
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.
- 5d ago First seen · 39 lines · 0 tokens per session scan A 83f1c11676d8
generic-agent is an agent published in the GitHub repository liusencomic-cyber/douyin-agent-kit (2 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 477 tokens. 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-31.
Other agents, from other repositories
multimodal-specialist
Vision, audio, image and video generation, and multimodal processing specialist. Integrates Claude Opus 4.8, GPT-5, Gemini 2.5/3, GPT Image 2, Nano Banana Pro, Kling 3.0, Sora 2 and Veo 3.1 for analysis, generation, transcription and multimodal RAG.
wiki-critic
Adversarial reviewer. Finds holes, overclaims, unjustified assumptions, and missing counter-evidence in compiled wiki content. Replaces the Codex CLI "挑漏洞·找反例" role.
wiki-ideator
Grounded research ideator. Discovers method-problem combinations from the wiki and prepares targeted verification requests for the coordinator.
wiki-searcher
Searches arXiv and the web for recent papers on a given research topic. Returns a structured list of candidates to import into raw/. Replaces the Gemini CLI "联网验证·搜最新论文" role.
coverage-skeptic
Look for blind spots, unsupported architecture families, missing validation gates, and overclaimed optimizations.
official-docs-cartographer
Find MLX or Apple-supported APIs, runtime constraints, packaging rules, and validation gates that should constrain porting guidance.