staffdeck-api-run-agent

staffdeck-api-run-agent is a skill for Codex from OpenBMB/StaffDeck. It costs 74 tokens per session (599 once invoked), scanned A, original, Apache-2.0.

A toolkit for running a StaffDeck digital employee through its version-one public API, including starting sessions, sending work, and retrieving results and files.

In plain words
What is it for?
Use it to submit agent runs, poll or stream their progress, continue waiting-input procedures, cancel work, and download Harness artifacts.
Why use it?
It provides a way to manage long-running or interactive agent work, including jobs that need user input, progress updates, cancellation, or later continuation.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to submit agent runs, poll or stream their progress, continue waiting-input procedures, cancel work, and download Harness artifacts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openbmb/staffdeck/staffdeck-api-run-agent
About the project

StaffDeck is an enterprise platform for creating and managing digital employees that represent professional knowledge, business processes, and decision rules. Organizations use it to automate repetitive work and preserve expertise as reusable digital workers. The catalogue includes skills, agents, rules, and instructions for the platform.

OpenBMB/StaffDeck · 2,376 stars · on GitHub · staffdeck.openbmb.cn

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 OpenBMB/StaffDeck --skill staffdeck-api-run-agent
Clone the repo
git clone --depth 1 https://github.com/OpenBMB/StaffDeck

Made for: 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 staffdeck-api-run-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/openbmb/staffdeck/staffdeck-api-run-agent/github.svg)](https://agentmods.dev/skills/openbmb/staffdeck/staffdeck-api-run-agent)
Your own site
<a href="https://agentmods.dev/skills/openbmb/staffdeck/staffdeck-api-run-agent"><img src="https://agentmods.dev/badge/skills/openbmb/staffdeck/staffdeck-api-run-agent/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 staffdeck-api-run-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/openbmb/staffdeck/staffdeck-api-run-agent"><img src="https://agentmods.dev/badge/skills/openbmb/staffdeck/staffdeck-api-run-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 599 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 32
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
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.00074 $0.00599
Opus 5.5 $0.00030 $0.00240
Sonnet 5.5 $0.00015 $0.00120
Haiku 4.5 $0.00007 $0.00060

Measured 3mo ago against content hash dffb13280378, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

staffdeck-api-run-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 3mo 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/staffdeck-api-run-agent/SKILL.md · 40 lines

How it starts

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

Run a StaffDeck agent

Prepare

  1. Require STAFFDECK_BASE_URL, STAFFDECK_API_KEY, and an accessible agent_id.
  2. Read references/run-api.md for routes and payloads.
  3. Generate a unique, stable Idempotency-Key for each logical session or run. Reuse it only to retry the identical request.

Choose session mode

  • Use a persistent session when the task may require user clarification, a pending SOP, or follow-up turns.
  • Use stateless mode only for an isolated request that must not affect later conversations.
  • Reuse the same session_id for every continuation of an awaiting_input run.

Execute

  1. For a persistent conversation, create or recover a session with POST /agents/{agent_id}/sessions. Supply a stable external_session_id from the caller's system.
  2. For an interactive answer, prefer POST /agents/{agent_id}/runs:stream and consume SSE in the same request. Retain the X-Run-ID response header.
  3. For detached execution, use POST /agents/{agent_id}/runs, then consume GET /runs/{run_id}/events or poll GET /runs/{run_id} with bounded backoff.
  4. Stop polling at succeeded, failed, cancelled, or awaiting_input.
  5. Call /result only after succeeded.
  6. Preserve reply, citations, tool_calls, task_results, session_state, and artifacts in the result passed to the caller.

Continue or cancel

  • On awaiting_input, report the requested information and submit the user's answer as a new run in the same session.
  • On ACTION_BUDGET_EXHAUSTED, preserve the session and continue only when authorized; do not silently loop forever.
  • Cancel with POST /runs/{run_id}:cancel when the caller requests cancellation or the result is no longer needed.
  • Use Last-Event-ID when reconnecting SSE.
  • Append run.output.delta content in order. Replace the accumulated text when run.output.replace is emitted, and stop display streaming at run.output.completed.

Evidence and privacy

Treat public Trace as an auditable execution summary, not raw COT. Keep citation metadata attached to the claims it supports. Do not expose masked credentials, sensitive model inputs, or unrelated session data.

Read the full file on GitHub · 40 lines

Files

What ships with it

2 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. 3mo ago First seen · 40 lines · 74 tokens per session scan A dffb13280378

Subscribe to this mod's changes

staffdeck-api-run-agent is a skill published in the GitHub repository OpenBMB/StaffDeck (2,376 stars, last pushed yesterday), licensed Apache-2.0. It adds 74 tokens to every session and 599 once invoked, about $0.0003 per session on Opus 5.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

staffdeck-api-run-agent compared with skills from other repositories

staffdeck-api-run-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
staffdeck-api-run-agentOpenBMB/StaffDeckSkill2.4kyesterdayApache-2.0A74Codex
mem0-oss-to-platformmem0ai/mem0Skill70k6d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill701yesterdayMITA105Claude Code, Codex