oneworks-cli-print-mode

oneworks-cli-print-mode is a skill for Claude Code, Codex from oneworks-ai/app. It costs 27 tokens per session (478 once invoked), scanned A, original, MIT.

A guide to One Works CLI print mode, which sends task output to a terminal or script, including text and JSON formats. It also explains how input, permission decisions, and resumed sessions work.

In plain words
What is it for?
Use it to run tasks from the command line, process structured event output, submit permission choices through standard input, resume sessions, or stop stuck sessions.
Why use it?
It clarifies how to automate One Works tasks and respond when a task pauses for permission or needs to continue later.

Skill for Claude CodeCodex

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

Good fit Use it to run tasks from the command line, process structured event output, submit permission choices through standard input, resume sessions, or stop stuck sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oneworks-ai/app/oneworks-cli-print-mode
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 oneworks-ai/app --skill oneworks-cli-print-mode
Clone the repo
git clone --depth 1 https://github.com/oneworks-ai/app

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 oneworks-cli-print-mode

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oneworks-ai/app/oneworks-cli-print-mode"><img src="https://agentmods.dev/badge/skills/oneworks-ai/app/oneworks-cli-print-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 478 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.00027 $0.00478
Opus 5.5 $0.00011 $0.00191
Sonnet 5.5 $0.00005 $0.00096
Haiku 4.5 $0.00003 $0.00048

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

Security

Grade A, and why

oneworks-cli-print-mode 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 1mo 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.

packages/plugins/cli-skills/skills/oneworks-cli-print-mode/SKILL.md · 46 lines

What it actually says

在需要解释 oneworks --print、--input-format、权限确认或继续会话时使用这个 skill。

Print 模式

  • oneworks --print "任务描述":把事件和最终输出直接打印到终端。
  • --output-format text:默认文本模式,适合直接阅读。
  • --output-format stream-json:逐条输出结构化事件,适合脚本消费。
  • --output-format json:任务结束时输出 JSON。

stdin 控制

  • --input-format text:从 stdin 读取一行纯文本作为输入。
  • --input-format json:从 stdin 读取一个 JSON 对象。
  • --input-format stream-json:按行读取 JSON 事件,适合长连接控制。

权限与继续会话

  • 当 print 模式遇到 interaction_request 且没有可用 stdin 控制时,CLI 会打印请求并终止任务。
  • 恢复时可用:oneworks --resume <sessionId> --print --input-format stream-json
  • 如果只是想改下一次恢复的权限模式,可用:oneworks --resume <sessionId> --permission-mode bypassPermissions
  • 等价短写:oneworks --resume <sessionId> --yolo
  • 对权限请求提交输入的示例:
{ "type": "submit_input", "data": "allow_once" }
  • 常见 decision:
    • allow_once
    • allow_session
    • allow_project
    • deny_once
    • deny_session
    • deny_project

排查顺序

  1. 先执行 oneworks list --view full 找到 session id。
  2. 再用 oneworks --resume <sessionId> 或 oneworks --resume <sessionId> --print --input-format stream-json 继续。
  3. 如果只是想停掉卡住的会话,用 oneworks stop <sessionId> 或 oneworks kill <sessionId>。
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. 1mo ago First seen · 46 lines · 27 tokens per session scan A 246c2004eb8a

Subscribe to this mod's changes

oneworks-cli-print-mode is a skill published in the GitHub repository oneworks-ai/app (20 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 478 once invoked, about $0.0001 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

Other skills, from other repositories

spec-kitty-charter-doctrine

Run charter interview, generation, context, and sync workflows for project governance in Spec Kitty 3.x. Access doctrine artifacts programmatically via DoctrineService. Resolve agent profiles. Load action-scoped governance context iteratively, not all at once. Triggers: "interview for charter", "generate charter"…

Priivacy-ai/spec-kitty · 135 tokens

chisle-audit

One-shot efficiency audit of a file, diff, or whole repo across BOTH axes at once: over-engineered code (reinvented stdlib, needless abstractions, speculative config) AND bloated prose (verbose comments, padded docstrings, redundant doc sections). Neither a pure code-minimizer nor a pure prose compressor does both in…

JayPokale/Chisle · 130 tokens

mongodb-query-optimizer

Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: "How do I optimize this query?", "How do I index this?", "Why is this query slow?", "Can you fix my slow queries?", "What are the slow queries on my cluster?", etc. Do not invoke for general MongoDB query…

fcakyon/claude-codex-settings · 98 tokens

polar-local-environment

This skill should be used when setting up or managing Polar local development environment with Docker.

fcakyon/claude-codex-settings · 22 tokens

execute

Execute an approved Maestro implementation plan using the shared session-state contract.

josstei/maestro-orchestrate · 14 tokens

neo4j-modeling-skill

Design, review, and refactor Neo4j graph data models. Use when choosing node labels vs relationship types vs properties, migrating relational/document schemas to graph, detecting anti-patterns (generic labels, supernodes, missing constraints), designing intermediate nodes for n-ary relationships, enforcing schema with…

neo4j-contrib/neo4j-skills · 152 tokens