Agent skill

Octo Loop

by Mininglamp-OSS in Mininglamp-OSS/octo-cli

A skill your agent uses when operating the Octo Loop control plane through the octo-cli loop commands: reading or writing Fleet tasks, comments, metadata, projects, and labels; dispatching work to…

Apache-2.0Auto-check passedBackend & APIs

Install Octo Loop

skills CLI
$ npx skills add Mininglamp-OSS/octo-cli --skill octo-loop -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Mininglamp-OSS/octo-cli octo-loop --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Mininglamp-OSS/octo-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/octo-loop .claude/skills/octo-loop && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
octo-loop
GitHub stars
918
Token cost
~2.3k tokens
SKILL.md length
884 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when operating the Octo Loop control plane through the octo-cli loop commands: reading or writing Fleet tasks, comments, metadata, projects, and labels; dispatching work to…

  • Operating the Octo Loop control plane through the octo-cli loop commands: reading
  • SKILL.md covers When to use / not use, Authentication, Workspace selector and Discover and execute operations, plus 6 more sections
  • Calls jq; needs OCTO_BOT_TOKEN
  • Writing Fleet tasks

What it does

Octo Loop is an agent skill from Mininglamp-OSS/octo-cli. Use when operating the Octo Loop control plane through the octo-cli loop commands: reading or writing Fleet tasks, comments, metadata, projects, and labels; dispatching work to experts or expert-teams and watching or cancelling their executions; creating, triaging, updating status, or reading progress on a task; listing tasks, experts, or expert-teams in a workspace; and safely handling mention and status-change side effects. Terminology: task (was issue), expert (was agent), expert-team (was squad), dispatch…

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Task breakdown. It works with GitHub and Jira. The repository describes itself as: Metadata-driven CLI for AI Agent Bots — 48 operations across 7 domains, structured JSON envelope I/O, zero interactive prompts. The licence is Apache-2.0.

When your agent uses it

  • Operating the Octo Loop control plane through the octo-cli loop commands: reading
  • Writing Fleet tasks
  • Dispatching work to experts
  • Expert-teams and watching

Example prompts

  • “/octo-loop”

Requirements

  • A credential in OCTO_BOT_TOKEN

What it can do on your machine

Read from SKILL.md and the folder at commit ff371c2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OCTO_BOT_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Octo Loop loads about 2.3k tokens when it runs. Until then it costs about 244 tokens; SKILL.md has 884 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~244
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Mininglamp-OSS/octo-cli at commit ff371c2, republished under its Apache-2.0 licence (© Mininglamp-OSS). 884 words, ~2,332 tokens.

Download SKILL.mdSave it as .claude/skills/octo-loop/SKILL.md (or your agent's skills folder).
name
octo-loop
description
Use when operating the Octo Loop control plane through the octo-cli `loop` commands: reading or writing Fleet tasks, comments, metadata, projects, and labels; dispatching work to experts or expert-teams and watching or cancelling their executions; creating, triaging, updating status, or reading progress on a task; listing tasks, experts, or expert-teams in a workspace; and safely handling mention and status-change side effects. Terminology: task (was issue), expert (was agent), expert-team (was squad), dispatch (assign a task to an expert/expert-team and trigger its run). Trigger phrases include: create or report a task/bug, dispatch or schedule work, assign to an expert, run or rerun a task, update or read progress, comment on or reply to a task, list or search tasks in a Loop workspace. Do not use for chit-chat unrelated to Loop, for pure local file work, or when a task or issue clearly refers to GitHub/Jira rather than Loop. Load after octo-shared.
version
0.1.0

Octo Loop

Use the loop namespace for Fleet control-plane operations. Product names are task, expert, expert-team, and execution; do not use the legacy issue/agent/squad names.

Terminology (legacy → current): agent → expert, squad → expert-team, issue → task, assign a task to an expert/expert-team and trigger its run → dispatch.

When to use / not use

Use this skill when the request targets a specific Loop workspace or task: reading or writing tasks, comments, projects, or metadata; working with experts or expert-teams (dispatch, schedule, trigger a run); replying to a comment, creating or triaging a task, updating status, or reading progress.

Do not use it for chat unrelated to Loop, for pure local file work, or when "issue" clearly means GitHub/Jira rather than Loop.

Authentication

Set OCTO_BOT_TOKEN to a bearer credential Fleet accepts directly, such as bf_, uk_, or octo_loop_. The CLI does not infer a human, device, or execution principal from a token prefix. Fleet verifies the credential and constructs the principal.

Outside daemon task mode, if a command fails with an auth error, check octo-cli auth status and let the user run octo-cli auth login. In OCTO_CREDENTIAL_MODE=task, those profile diagnostics are unavailable: report the auth failure so the daemon can refresh or replace the injected credential. Do not fabricate credentials. Never leak or store tokens, config keys, or API base URLs, and do not bypass workspace permissions with direct HTTP calls.

All Loop commands use the same gateway as every other domain. The embedded paths include the Fleet module namespace, so requests resolve under $OCTO_API_BASE_URL/fleet/api/v1/*.

Workspace selector

Workspace-scoped Loop commands require the --workspace-id <id> flag (sent as the X-Workspace-ID header). There is no environment fallback for it — pass it explicitly. Discover available workspaces first:

bash
octo-cli loop workspace list
octo-cli loop workspace member list <workspace-id> --workspace-id <workspace-id>

Discover and execute operations

Output is JSON by default (--format json); parse JSON rather than scraping tables.

bash
octo-cli loop task list --workspace-id <ws>
octo-cli loop task get <task-id> --workspace-id <ws>
octo-cli loop expert list --workspace-id <ws>
octo-cli loop expert-team list --workspace-id <ws>
octo-cli loop execution message list <execution-id> --workspace-id <ws>

Inspect the current contract before constructing a write:

bash
octo-cli schema task.create
octo-cli schema task.comment.create
octo-cli schema expert.create
octo-cli schema expert_team.create

Repository operations, daemon device enrollment, task claim/heartbeat, and local runtime paths are intentionally not part of this CLI surface.

Read workflow

Read before you write.

bash
octo-cli loop task get <task-id> --workspace-id <ws>
octo-cli loop task comment list <task-id> --workspace-id <ws>
octo-cli loop task metadata list <task-id> --workspace-id <ws>
octo-cli loop task children-by-parent --workspace-id <ws>

Comment history is paginated with --page / --page-size.

Explore other namespaces (project, expert, expert-team, expert-template, execution, runtime, skill, skill-file, autopilot, attachment, label, top-level comment) with --help — their shapes vary.

Write workflow

Treat writes as actions with side effects: creating comments, creating tasks, changing status, assigning/dispatching, rerunning executions, mentioning an expert or expert-team, and autopilot changes. If the user has not clearly asked for a write, confirm before executing.

Comment and description bodies go through a file

There is no --content-file flag. Body text is a request-body field, so pass it via --data, which accepts @file (or @- for stdin). Do not build the body inline with --content "$(cat ...)": the shell rewrites backticks, $(), variables, quotes, and newlines before the CLI sees them.

Write the body to a private temp file, wrap it as valid JSON (use jq -Rs . to escape the text safely), and clean up:

bash
body_dir="$(mktemp -d)"
trap 'rm -rf "$body_dir"' EXIT
# ...write the comment body to "$body_dir/reply.md", preserving real newlines...
printf '{"content": %s}' "$(jq -Rs . < "$body_dir/reply.md")" > "$body_dir/body.json"

octo-cli loop task comment create <task-id> --workspace-id <ws> --data "@$body_dir/body.json"

Use mktemp -d, never a fixed path like ./reply.md (it can clobber a user file). To reply within a thread, add --parent-comment-id <comment-id>; individual flags override same-named fields in --data.

Task descriptions follow the same pattern — --description is a plain string flag with the same shell hazards, so prefer a JSON body from a file:

bash
printf '{"title": %s, "description": %s}' \
  "$(jq -Rs . <<< 'Fix login redirect')" \
  "$(jq -Rs . < "$body_dir/description.md")" > "$body_dir/task.json"
octo-cli loop task create --workspace-id <ws> --data "@$body_dir/task.json"
Show full SKILL.md (356 more words)Show less
Metadata

Metadata is persistent task state, not a log. Read it on entry and write only high-value facts that will be read again (for example pr_url, pipeline_status, blocked_reason). Inspect the contract first — the set path is keyed by a metadata id:

bash
octo-cli schema task.metadata.set
octo-cli loop task metadata list <task-id> --workspace-id <ws>

Status and assignment side effects

Status and assignment are done through task update, not a dedicated command:

bash
octo-cli loop task update <task-id> --workspace-id <ws> --status <status>
octo-cli loop task update <task-id> --workspace-id <ws> \
  --assignee-id <uuid> --assignee-type expert   # or expert_team, member

Changing status is not cosmetic — it can start or stop work. In the standard Fleet workflow backlog parks an assigned task, in_progress means work is in progress, and in_review means the work is awaiting review. Use done only after the work is accepted or no review is required; done and cancelled are terminal. Moving out of backlog to an active status can trigger the assigned expert to run. Confirm the exact status values accepted by your workspace via the schema.

Dispatch and executions

To create a task and dispatch it to an expert or expert-team in one call, use quick-create with a prompt and an assignee id:

bash
octo-cli loop task quick-create --workspace-id <ws> \
  --prompt "Investigate the login redirect bug" --expert-id <uuid>
# or --expert-team-id <uuid>

Each dispatch produces an execution. Read run state and stop a runaway run rather than guessing:

bash
octo-cli loop task execution list <task-id> --workspace-id <ws>
octo-cli loop task execution cancel <task-id> <execution-id> --workspace-id <ws>
octo-cli loop task rerun <task-id> --workspace-id <ws> --execution-id <execution-id>

Cancelling and rerunning are writes with side effects — confirm before running them unless the user asked.

Mention side effects

Comment bodies can contain mention links that Fleet interprets as actions, not decoration. Mentioning an expert or expert-team triggers a run; mentioning a person is a notification only. Look up real ids before composing a mention:

bash
octo-cli loop expert list --workspace-id <ws>
octo-cli loop expert-team list --workspace-id <ws>
octo-cli loop workspace member list <ws> --workspace-id <ws>

Do not mention an expert or expert-team just to say thanks, confirm, or wrap up — re-mentioning the responder can trigger a fresh run and create a loop. Confirm the exact mention link syntax against the product before relying on it.

External agent boundary

An external agent does not automatically inherit Loop context. When asked to act on a task or comment, obtain or derive: the task id, the triggering comment id and its parent (if replying), the target workspace, whether writes are allowed, and whether mentions / status changes / reruns / dispatch are allowed. If any of these is missing and the operation would write state, ask first. For read-only investigation, gather context with JSON output and state what is still missing.

© Mininglamp-OSS, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/octo-loop of Mininglamp-OSS/octo-cli.

Open the folder on GitHubat commit ff371c2

Compare with similar skills

Octo Loop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Octo Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Octo Loop this skillMininglamp-OSS/octo-cli918—~2.3kAutomated safety check: PassApache-2.0
Akb Ingestdnotitia/akb162—~2kAutomated safety check: PassCustom licence
Diagnose Backend BugQoderAI/better-harness2.4k—~1.2kAutomated safety check: PassMIT
Wiring External Webhooksfriday-platform/friday-studio104—~1.8kAutomated safety check: PassCustom licence
Linear Migration Deep Divejeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: PassMIT
Linear Expertborghei/Claude-Skills886—~1.9kAutomated safety check: PassMIT

Similar skills

  • Akb Ingest

    dnotitia/akb

    Ingest whatever you point at into an AKB vault — a local file, a web URL, a GitHub PR/release/commit, a Confluence page, or a Jira issue.

    162 GitHub stars~2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Diagnose Backend Bug

    QoderAI/better-harness

    Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records.

    2.4k GitHub stars~1.2k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Wiring External Webhooks

    friday-platform/friday-studio

    Connects an external service's webhook (Bitbucket / Jira / GitHub / custom) to a workspace's HTTP signal via Friday's /hook/raw/ tunnel URL.

    104 GitHub stars~1.8k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Linear Migration Deep Dive

    jeremylongshore/tons-of-skills-marketplace

    Plan and execute a controlled migration into Linear using supported import assistants or the CLI importer.

    2.8k GitHub stars~1.3k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Linear Expert

    borghei/Claude-Skills

    Linear expert for workspace/team admin, Cycles, Projects, Initiatives, Roadmaps, GraphQL API queries, triage workflows, GitHub integration, bulk operations, and Jira-to-Linear migration.

    886 GitHub stars~1.9k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed

More from Mininglamp-OSS/octo-cli

All 11 skills in this repo
  • Octo Summary

    Mininglamp-OSS/octo-cli

    Read, create, find, and cite Octo summaries through octo-cli.

    918 GitHub stars~1k tokensUpdated 11 days ago
    Auto-check passed
  • Octo Docs

    Mininglamp-OSS/octo-cli

    Docs domain — create and govern documents, read and incrementally edit a doc's live body, read and edit spreadsheets including structural row/column edits, find & replace, cells, layout, shared…

    918 GitHub stars~2k tokensUpdated 11 days ago
    Auto-check passed
  • Octo Drive

    Mininglamp-OSS/octo-cli

    Octo Drive — spaces, folders, file upload/download, online-document mounts, share links, invites, IM-attachment transfer.

    918 GitHub stars~4.4k tokensUpdated 11 days ago
    Auto-check passed
  • Octo Files

    Mininglamp-OSS/octo-cli

    File operations (upload/download, presigned S3 credentials) plus bot housekeeping (register, set-commands, user-info, space-members, typing, heartbeat).

    918 GitHub stars~1.6k tokensUpdated 11 days ago
    Auto-check passed
  • Octo HTML

    Mininglamp-OSS/octo-cli

    HTML docs domain (octo-doc) — create and govern self-contained interactive HTML documents, immutable versions, drafts, sharing, media, comments, and agent element edits.

    918 GitHub stars~4.2k tokensUpdated 11 days ago
    Auto-check passed
  • Octo Mail

    Mininglamp-OSS/octo-cli

    OCTO Agent Mail operations for reading, searching, policy-aware sending, preparing drafts, and checking delivery status exclusively through octo-cli.

    918 GitHub stars~3.2k tokensUpdated 11 days ago
    Auto-check passed

Works with

Questions about Octo Loop

What does Octo Loop do?

A skill your agent uses when operating the Octo Loop control plane through the octo-cli loop commands: reading or writing Fleet tasks, comments, metadata, projects, and labels; dispatching work to…. Octo Loop is an agent skill from Mininglamp-OSS/octo-cli. Use when operating the Octo Loop control plane through the octo-cli loop commands: reading or writing Fleet tasks, comments, metadata, projects, and labels; dispatching work to experts or expert-teams and watching or cancelling their executions; creating, triaging, updating status, or reading progress on a task; listing tasks, experts, or expert-teams in a workspace; and safely handling mention and status-change side effects.

When should I use Octo Loop?

Octo Loop fits situations like: operating the Octo Loop control plane through the octo-cli loop commands: reading; writing Fleet tasks; dispatching work to experts; expert-teams and watching.

How do I install Octo Loop in Claude Code?

Run `npx skills add Mininglamp-OSS/octo-cli --skill octo-loop -a claude-code`. Or copy the skill folder (skills/octo-loop in Mininglamp-OSS/octo-cli) into .claude/skills/octo-loop in your project. Claude Code loads it when a task matches its description.

How do I install Octo Loop in Codex?

Run `npx skills add Mininglamp-OSS/octo-cli --skill octo-loop -a codex`. Or copy the skill folder (skills/octo-loop in Mininglamp-OSS/octo-cli) into .agents/skills/octo-loop in your project. Codex loads it when a task matches its description.

Can I use Octo Loop in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mininglamp-OSS/octo-cli --skill octo-loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/octo-loop, .gemini/skills/octo-loop, .github/skills/octo-loop and .opencode/skills/octo-loop in your project.

What does Octo Loop need to run?

Going by SKILL.md and its folder, Octo Loop needs the command-line tools its instructions call (jq) and credentials named OCTO_BOT_TOKEN. Our summary lists: A credential in OCTO_BOT_TOKEN.

Does Octo Loop access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Octo Loop safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Octo Loop use?

Octo Loop is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Octo Loop use?

About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Octo Loop?

Skills that share tags, products or a category with Octo Loop: Akb Ingest (dnotitia/akb, 162 stars), Diagnose Backend Bug (QoderAI/better-harness, 2.4k stars), Wiring External Webhooks (friday-platform/friday-studio, 104 stars) and Linear Migration Deep Dive (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Octo Loop?

Mininglamp-OSS (a GitHub organization) maintains it in Mininglamp-OSS/octo-cli, which has 918 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 28, 2026.

Source: Mininglamp-OSS/octo-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.