agentleFS
bohewubohewu/agents_pipeline/skills/decide/SKILL.md

decide

Skill1 starsChanged 4 months agoMITView on GitHub

Evaluate explicitly selected text or JSON with the OpenAI Decisions API to return predicates, fixed choices or rubric scores. Use when the user requests $decide; answers are advisory and do not authorize actions.

  • Reads credentials

51 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use redesign, weekly and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • arjunkshahSkill

    redesign

    Redesign existing interfaces to premium quality while preserving product goals and functional behavior.

    Also in 3 projects that use this

  • gaiaaiagentSkill

    weekly

    Generate a weekly digest rolling up dailies into higher-level pattern analysis

    Also in 3 projects that use this

  • SethGammonSkill

    experiment

    Automated optimization loop with scalar fitness function. Proposes changes in isolated worktrees, measures with a metric command, keeps improvements, discards failures. Supports convergence detection and diminishing returns.

    Also in 3 projects that use this

  • kv0906Skill

    inbox

    Quick capture mode (with content) or batch processing mode (no content). GTD-style routing of inbox items to proper folders. Use "/inbox thought to capture" or "/inbox" to process.

    Also in 3 projects that use this

  • AnthropicSkill

    brief

    Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.

    Also in 5 projects that use this

  • genomewalkerSkill

    health

    Soul system health check with remediation

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this capability only on explicit user invocation.

    line 9
  2. Distinctive:

    If the binding is absent, invalid or rejected, stop and report the specific setup/access problem without selecting another key.

    line 23
  3. Distinctive:

    Do not collect the repository, conversation or private settings automatically.

    line 33
  4. Distinctive:

    Remove any known secret; ask for sanitized evidence when necessary.

    line 34
  5. Distinctive:

    Ask for missing choices or ordered score levels before sending anything.

    line 37
  6. Very specific:

    No network or credential lookup occurs.

    line 69
  7. Very specific:

    If the operator's existing secret manager supplies a dedicated process-local OPENAI_API_KEY, invoke node ../../tools/decisions.js --input …

    line 70
  8. Distinctive:

    Do not expose upstream error bodies, authorization headers, keys or stack traces.

    line 109

“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Decide

Use this capability only on explicit user invocation. It is a one-shot API tool, not a managed role or a replacement for independent review, deterministic guards, profile routing or user approval. Do not dispatch another agent to use it.

Prepare

  1. For an explicit $decide request, reuse the operator's existing Decide credential binding. Check it with the installed launcher's status command without displaying secret values. A successful configured: true means the operator has already selected this tool's credential; the explicit request authorizes its reuse for this bounded call. Do not repeat the generic reuse-versus-new question or reopen credential setup for ordinary use, including in a new conversation. Merely finding an environment variable or an arbitrary env file is not a saved credential choice. If the binding is absent, invalid or rejected, stop and report the specific setup/access problem without selecting another key. Apply the host's API credential setup policy when the user requests initial setup, a new key, replacement or a different credential destination. Those changes still need confirmation. Never read Codex OAuth tokens or change the parent runtime's provider, login, permissions, sandbox or approval settings. A configured binding does not authorize implicit workflow calls, retries or broader data collection.
  2. Establish the question and evidence. Use only supplied text/JSON or files the user explicitly selected. Show a concise evidence scope before transmission. Do not collect the repository, conversation or private settings automatically. Remove any known secret; ask for sanitized evidence when necessary.
  3. Build a request using the example below. The tool supports text or user text/JSON messages, 1–16 uniquely named questions, and a maximum 64 KiB request. Ask for missing choices or ordered score levels before sending anything.
{
  "model": "gpt-6-luna",
  "input": "The supplied task changes one documentation link.",
  "questions": [{
    "name": "route_suggestion",
    "type": "choice",
    "instructions": "Which workflow fits this task's scope? This is a suggestion only.",
    "choices": [
      {"value": "simple", "description": "One bounded, clear task."},
      {"value": "flow", "description": "Several dependent tasks with modest risk."},
      {"value": "pipeline", "description": "Complex work needing formal gates."}
    ]
  }]
}

Question types: predicate returns a probability; choice needs 2–255 distinct string/boolean values; score needs 2–10 ordered levels with label and optional description. Instructions are text. JSON evidence may use user message content parts of type input_json with data as an object or array of objects. Images, tools, streaming and arbitrary endpoints are outside this delivery.

Invoke

Resolve these paths relative to this skill file; installed copies are rewritten to the persistent support tree. Run with Node.js 18+ and Python 3.11+; entrypoints use Bash on Linux/macOS or PowerShell 7+ on Windows.

  • Local validation: node ../../tools/decisions.js --input request.json --dry-run. No network or credential lookup occurs. Input may instead be - for stdin.
  • If the operator's existing secret manager supplies a dedicated process-local OPENAI_API_KEY, invoke node ../../tools/decisions.js --input request.json.
  • Once the operator has bound a private env file, invoke bash ../../scripts/decide.sh run --input request.json, or on Windows pwsh -NoProfile -File ../../scripts/decide.ps1 run --input request.json. These fixed entrypoints work from any workspace and retain the caller's cwd for request paths. They use the per-user saved credential location, not local workspace discovery. An explicit --env-file <confirmed-file> overrides it for one call without changing the binding. An invalid binding never falls back to a different key. The launcher does not execute env-file contents or export the credential to the parent session.

The direct Python entry python3 ../../scripts/decide.py supports the same commands. Without a saved binding or --env-file, run preserves the existing process-environment mode. Dry-run never reads binding metadata or credentials.

For first-time manual setup, local status, replacement and Windows notes, read the setup reference. The optional standalone entrypoint opens a set / status / clear menu when run without arguments in the human's terminal; set completes key-file setup and location binding together. Never automate secret entry or pass a key as an argument. Unrelated tasks, the main installer and workspace profile must not launch this optional setup. Installation and updates do not create keys or modify credential files.

Interpret and stop

Report validated named answers, model, usage and safe request ID when present. Describe probabilities/confidence as estimates. Score is a weighted level index, not necessarily an integer. Do not invent a rationale the API did not return.

Exit 0 means completed or dry-run; 2 means local input/credential error; 3 means API/transport/response failure; 4 means at least one refusal. Preserve refusals and errors without inventing answers. A returned suggestion never executes commands or changes workflow/profile settings by itself.

One live invocation sends one request to the fixed production Decisions endpoint. It has a 30-second deadline and 256 KiB response limit. No automatic retry, credential/model fallback or redirects. After timeout/transport failure, server outcome and billing may be unknown: report that before any user-authorized retry. Do not expose upstream error bodies, authorization headers, keys or stack traces.

Live calls may spend the selected project's credits/balance. Local limits are not a monetary cap. Do not alter billing or claim available credit from a successful request. See the official API contract.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.