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 skills/oneworks-ai/app/oneworks-cli-print-modenpx skills add oneworks-ai/app --skill oneworks-cli-print-modegit clone --depth 1 https://github.com/oneworks-ai/appWhat 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.00027 | $0.00478 |
| Opus 5 | $0.00014 | $0.00239 |
| Sonnet 5 | $0.00005 | $0.00096 |
| Haiku 4.5 | $0.00003 | $0.00048 |
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 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.
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_onceallow_sessionallow_projectdeny_oncedeny_sessiondeny_project
排查顺序
- 先执行
oneworks list --view full找到 session id。 - 再用
oneworks --resume <sessionId>或oneworks --resume <sessionId> --print --input-format stream-json继续。 - 如果只是想停掉卡住的会话,用
oneworks stop <sessionId>或oneworks kill <sessionId>。
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.
- 2d ago First seen · 46 lines · 27 tokens per session scan A 246c2004eb8a
oneworks-cli-print-mode is a skill published in the GitHub repository oneworks-ai/app (18 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 478 once invoked, about $0.0001 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-30.
Other skills, from other repositories
mermaid-visualizer
Transform text content into professional Mermaid diagrams for presentations and documentation. Use when users ask to visualize concepts, create flowcharts, or make diagrams from text. Supports process flows, system architectures, comparisons, mindmaps, and more with built-in syntax error prevention.
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"…
gcloud-usage
This skill should be used when user asks about "GCloud logs", "Cloud Logging queries", "Google Cloud metrics", "GCP observability", "trace analysis", or "debugging production issues on GCP".
spk-team-auth
Handle Spec Kitty team authentication, hosted credentials, account selection, and auth-related recovery.
setup
This skill should be used when user encounters "Azure MCP error", "Azure authentication failed", "az login required", "Azure CLI not found", or needs help configuring Azure MCP integration.
neo4j-cypher-skill
Generates, optimizes, and validates Cypher 25 queries for Neo4j 2025.x and 2026.x. Use when writing new Cypher queries, optimizing slow queries, graph pattern matching, vector or fulltext search, subqueries, or batch writes. Covers MATCH, MERGE, CREATE, WITH, RETURN, CALL, UNWIND, FOREACH, LOAD CSV, SEARCH…