activity-dev-cli

A command-line workflow for developing and debugging FDA activities against a shared development service.

In plain words
What is it for?
Use it to inspect local and server state, preview changes, sync an activity after its first upload, run smoke tests, pull source, and download diagnostic logs.
Why use it?
It provides checks for connectivity and status, previews or performs synchronization, runs test turns, and collects logs when something fails.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/uselessspace/freedeepagents-activity-builder/activity-dev-cli
Any agent
npx skills add uselessspace/freedeepagents-activity-builder --skill activity-dev-cli
Clone the repo
git clone --depth 1 https://github.com/uselessspace/freedeepagents-activity-builder

Made for: Claude Code, Codex.

Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 633 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00097 $0.00633
Opus 5 $0.00048 $0.00316
Sonnet 5 $0.00019 $0.00127
Haiku 4.5 $0.00010 $0.00063

Measured yesterday against content hash 11ec03eaa16c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

activity-dev-cli 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 yesterday.

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/activity-dev-cli/SKILL.md · 44 lines

What it actually says

Activity Dev CLI

何时用:需要把当前活动接到共享 dev runtime 做“检查 → 同步 → 真 turn → 日志诊断”,或单独查询 CLI 的安全用法时。

本 skill 只负责路由,不复制命令规范。执行前完整读取 ../../references/dev-agent-cli.md,并按其中的 副作用分级、认证边界和结构化输出约定操作。

路由

  • 连通性、TLS、登录或活动识别问题:doctor,再按失败阶段解释。
  • 判断本地与服务器关系:status
  • 查看即将上传/覆盖什么:先用 sync --dry-runpull --dry-run
  • statusnot-synced / activityHasPriorSync=false:停止写操作, 引导用户在 FDA Dev Client 中完成首次上传;Coding Agent 不得代传。
  • 已有至少一次服务器同步后,把本地代码放到开发服务器:确认目标活动后用 sync
  • 跑真实 turn 并检查输出证据:转 /activity-smoke,优先使用 message --sync-first --new --smoke --pull-logs-on-error
  • 已有失败 turn 或需要日志:用 logs 获取诊断快照,再转 /activity-diagnostician
  • 开发目录验收:CLI 运行证据补进 /activity-verifyDevelopment Verification;CLI 本身不替代 verifier、strict schema 与离线 testkit。
  • FDA Dev Client 的 sync 直接读取 --folder 指向的活动开发目录。

安全提醒

默认从只读检查开始。CLI 具有跨进程的 12 次/分钟、120 次/小时双窗口硬限流; 命中 CLIENT_RATE_LIMITED 后必须停止循环并等待 retryAfterSeconds,不得用换进程、 换目录或并行调用规避。首次上传只能由用户在 FDA Dev Client 完成。sync 会修改 开发服务器,pull --force 会覆盖合并本地源码,login --replace-session 会替换 当前原生客户端会话;后两者没有用户明确授权不得执行。不要输出 token,也不要 自主扩大附件目录边界。

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. yesterday First seen · 44 lines · 97 tokens per session scan A 11ec03eaa16c

Subscribe to this mod's changes

activity-dev-cli is a skill published in the GitHub repository uselessspace/freedeepagents-activity-builder (2 stars, last pushed 14d ago), licensed MIT. It adds 97 tokens to every session and 633 once invoked, about $0.0005 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-31.

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

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 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

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens