frame_openai

frame_openai is a command for Claude Code, OpenCode from allisoneer/agentic_auxilary. It costs 18 tokens per session (1,678 once invoked), scanned A, original, MIT.

A command that turns a short or unclear request into a clearer working frame by separating known facts, assumptions, and unanswered questions.

In plain words
What is it for?
Use it to investigate codebase-dependent requests, recommend a more suitable workflow, proceed with a bounded task, or ask for clarification when the subject is unclear.
Why use it?
It reduces the chance of acting on an ambiguous request or choosing the wrong workflow.

Command for Claude CodeOpenCode

Written for Claude Code and OpenCode: $ARGUMENTS substitution, but also installed under .opencode/. Also seen: model in frontmatter; mentions OpenCode.

Good fit Use it to investigate codebase-dependent requests, recommend a more suitable workflow, proceed with a bounded task, or ask for clarification when the subject is unclear.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/allisoneer/agentic_auxilary/frame_openai
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.

Clone the repo
git clone --depth 1 https://github.com/allisoneer/agentic_auxilary

Made for: Claude Code, OpenCode.

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 frame_openai

README.md
[![agentmods](https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/frame_openai/github.svg)](https://agentmods.dev/commands/allisoneer/agentic_auxilary/frame_openai)
Your own site
<a href="https://agentmods.dev/commands/allisoneer/agentic_auxilary/frame_openai"><img src="https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/frame_openai/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 frame_openai

Your own site · 80×15
<a href="https://agentmods.dev/commands/allisoneer/agentic_auxilary/frame_openai"><img src="https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/frame_openai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,678 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.00018 $0.01678
Opus 5.5 $0.00007 $0.00671
Sonnet 5.5 $0.00004 $0.00336
Haiku 4.5 $0.00002 $0.00168

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

Security

Grade A, and why

frame_openai 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.

.opencode/command/frame_openai.md · 172 lines

How it starts

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

For this command, the requested work is the framing itself. Producing a grounded frame and either routing cleanly or proceeding with bounded work counts as completion.

<workflow_contract>

  1. Follow all 6 steps in order.
  2. Treat the user prompt as meaningful even if it is short.
  3. Distinguish clearly between confirmed facts, inferred framing, and open questions.
  4. Continue tool use until the frame is grounded enough to route or act responsibly; for this command, that grounded frame is the completion target unless direct execution mode is chosen.
  5. Prefer tools_ask_agent for grounded discovery when codebase facts matter.
  6. If a specialized workflow command is clearly the better fit, recommend it explicitly instead of forcing direct execution.
  7. If the request is bounded enough to answer or execute directly after framing, proceed directly.
  8. Ask a clarification question only when the prompt lacks enough subject matter to frame responsibly. </workflow_contract>

<step_1>

Step 1: Parse the Prompt and Classify It

  1. Read <userMessage> carefully and infer the most likely explicit request.
  2. Infer the likely deeper objective behind the wording when one is apparent.
  3. Classify the prompt across these axes:
    • task type: question | research | planning | implementation | review | resume | handoff | mixed
    • scope: single file | subsystem | cross-cutting | repo-wide | unknown
    • ambiguity: fully unclear | partially specified | mostly clear
  4. If the prompt names files, documents, commands, PRs, or plans, record them as anchor points.
  5. If the prompt has too little subject matter to frame responsibly, ask one clarification question and stop.

</step_1>

<step_2>

Read the full file on GitHub · 172 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. 1mo ago First seen · 172 lines · 18 tokens per session scan A 139b9a0315b3

Subscribe to this mod's changes

frame_openai is a command published in the GitHub repository allisoneer/agentic_auxilary (79 stars, last pushed 6d ago), licensed MIT. It adds 18 tokens to every session and 1,678 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-09-08.