2dai

2dai is a skill for Claude Code, Codex from 2DAICommunity/2dai-mcp-server. It costs 57 tokens per session (1,688 once invoked), scanned A, original, MIT.

A guide for using 2DAI, a cloud service that generates images and videos, through its agent tools. It covers presets, account credit, references, character consistency, and assembling short films.

In plain words
What is it for?
It supports image generation, image-to-video work, style transfer, reference-based creation, character consistency, and short video assembly.
Why use it?
It helps avoid rejected requests, unexpected spending, and inconsistent results by checking account limits and choosing an appropriate preset first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit It supports image generation, image-to-video work, style transfer, reference-based creation, character consistency, and short video assembly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/2daicommunity/2dai-mcp-server/2dai
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.

Any agent
npx skills add 2DAICommunity/2dai-mcp-server --skill 2dai
Clone the repo
git clone --depth 1 https://github.com/2DAICommunity/2dai-mcp-server

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 2dai

README.md
[![agentmods](https://agentmods.dev/badge/skills/2daicommunity/2dai-mcp-server/2dai/github.svg)](https://agentmods.dev/skills/2daicommunity/2dai-mcp-server/2dai)
Your own site
<a href="https://agentmods.dev/skills/2daicommunity/2dai-mcp-server/2dai"><img src="https://agentmods.dev/badge/skills/2daicommunity/2dai-mcp-server/2dai/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 2dai

Your own site · 80×15
<a href="https://agentmods.dev/skills/2daicommunity/2dai-mcp-server/2dai"><img src="https://agentmods.dev/badge/skills/2daicommunity/2dai-mcp-server/2dai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,688 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.
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.00057 $0.01688
Opus 5 $0.00028 $0.00844
Sonnet 5 $0.00011 $0.00338
Haiku 4.5 $0.00006 $0.00169

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

Security

Grade A, and why

2dai 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 2d 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.

skills/2dai/SKILL.md · 95 lines

How it starts

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

2DAI for agents

2DAI is a generation platform (images, image-to-video, references, style transfer) with a cloud drive. You reach it through the 2dai-mcp-server tools (24 tools) with an API key. Every generation spends the account's USD credit; every result lands in the account's cloud drive as a creation with a 32-char id.

1. Session start (always)

  1. get_account — credit, tier, key scopes and spend cap, the presets this account may submit, the video durations with their tier locks, and the recommended presets. Never probe presets by submitting: a locked preset is refused at submit (403 QUALITY_NOT_ALLOWED_FOR_TIER) and wastes a round-trip.
  2. Budget: write down credit and the key cap. Costs are charged at submit and refunded on failure.
  3. list_creations if the account already holds references (brand masters, character sheets).

2. Quality ladder — one ladder for every tool

Preset Image Video (per 5 s clip) Use it for
fast lowest res, fastest 320p drafts, layout tests
normal standard 480p social drafts, moodboards
high more steps, looser read of the prompt 620p variety when Max feels too literal
max recommended for images — best detail / price balance 720p everyday images
ultra higher res, slower, tier-gated recommended for video — 800p, best coherence for the price prints, large crops; every video shot
ultimate highest resolution, slowest, tier-gated 1080p, longest wait, tier-gated final masters only

auto (the default) lets the server pick by tier, weighted towards max; for video it draws max / ultra only and never ultimate (that preset needs a GPU class that is not always online — ask for it explicitly). Prefer an explicit preset once you know what the shot is for. Reference tools (face-ref, character-ref, style-transfer, smart-edit) run on the same ladder and cost more per preset than a plain image; get_stats shows the burn.

Read the full file on GitHub · 95 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. 2d ago Changed · +12 lines 67539cef3355
  2. 3d ago First seen · 83 lines · 57 tokens per session scan A 8516738707de

Subscribe to this mod's changes

2dai is a skill published in the GitHub repository 2DAICommunity/2dai-mcp-server (0 stars, last pushed 3d ago), licensed MIT. It adds 57 tokens to every session and 1,688 once invoked, about $0.0003 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-09-10.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens