Lewati ke konten
TakoAPI
Kembali ke skill

opcode

oleh rendis

DevOps & Cloud
1.1kUnduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Zero-token execution layer for AI agents.

Deskripsi

Apa yang Dilakukan Skill Ini

OPCODE is a workflow execution runtime for AI agents. Workflows are defined once as JSON DAGs and run repeatedly at zero token cost after the initial definition. Supports scheduled triggers, parallel branches, loops, conditions, human-in-the-loop reasoning nodes, and a secret vault.

Defining a workflow once and re-running it deterministically costs zero inference tokens per execution, unlike agent loops that re-reason every step from scratch.

Kapan Menggunakannya

  • Running scheduled data pipelines without re-reasoning each step
  • Coordinating multiple agents on a shared persistent workflow
  • Adding human approval checkpoints before irreversible automated actions
  • Retrying failed shell commands with configurable exponential backoff
  • Parallelizing HTTP requests across multiple endpoints in a single workflow

Contoh Alur Kerja

INPUT

User asks: Set up a pipeline that fetches a JSON feed, filters results by keyword, and writes a summary file on a daily schedule

AGENT
  1. 1

    Call opcode.define with a template name, cron trigger, and steps using http.get, expr.eval, and fs.write

  2. 2

    Call opcode.run with the template name and any input parameters to test the workflow

  3. 3

    Call opcode.status to verify the workflow completed or to inspect any suspended reasoning steps

  4. 4

    Call opcode.query with resource workflows to retrieve execution history and outputs

OUTPUT

Workflow registered and running on schedule, writing summary files each day with no token cost per run

Persyaratan

  • OPCODE_VAULT_KEY environment variable

Instalasi

clawhub install rendis/opcode

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan