octo-files

octo-files is a skill for Claude Code, Codex from Mininglamp-OSS/octo-cli. It costs 43 tokens per session (2,163 once invoked), scanned A, original, Apache-2.0.

A command-line workflow for uploading and downloading files and managing basic bot settings in Octo. Octo is a service used by agents to work with files and bot accounts.

In plain words
What is it for?
Uploading or downloading files, obtaining file-transfer credentials, registering or configuring a bot, checking account information, and managing bot-related housekeeping.
Why use it?
It handles file transfer details and routine bot operations in one documented set of commands.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Uploading or downloading files, obtaining file-transfer credentials, registering or configuring a bot, checking account information, and managing bot-related housekeeping.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mininglamp-oss/octo-cli/octo-files
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.

Any agent
npx skills add Mininglamp-OSS/octo-cli --skill octo-files
Clone the repo
git clone --depth 1 https://github.com/Mininglamp-OSS/octo-cli

Made for: Claude Code, Codex.

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 octo-files

README.md
[![agentmods](https://agentmods.dev/badge/skills/mininglamp-oss/octo-cli/octo-files/github.svg)](https://agentmods.dev/skills/mininglamp-oss/octo-cli/octo-files)
Your own site
<a href="https://agentmods.dev/skills/mininglamp-oss/octo-cli/octo-files"><img src="https://agentmods.dev/badge/skills/mininglamp-oss/octo-cli/octo-files/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 octo-files

Your own site · 80×15
<a href="https://agentmods.dev/skills/mininglamp-oss/octo-cli/octo-files"><img src="https://agentmods.dev/badge/skills/mininglamp-oss/octo-cli/octo-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,163 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 45
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium Data Exfiltration · line 58
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00043 $0.02163
Opus 5.5 $0.00017 $0.00865
Sonnet 5.5 $0.00009 $0.00433
Haiku 4.5 $0.00004 $0.00216

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

Security

Grade A, and why

octo-files scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

octo-cli file download /chat/2026/05/abc123.png --jq '.data.url' | xargs curl -o out.png
skills/octo-files/SKILL.md · 136 lines

How it starts

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

octo-files — file I/O and bot housekeeping

Two small domains are covered here because they share a base URL ($OCTO_API_BASE_URL/v1/bot/*) and are usually needed together:

  • file — 4 ops, no bot-kind restrictions
  • bot — 6 ops, no bot-kind restrictions

1. File operations

octo-cli file upload      --file ./report.pdf [--type chat] [--path subdir/]
octo-cli file download    <path> [--filename <name>] --format json  # JSON envelope with presigned URL, not file bytes
octo-cli file credentials --filename report.pdf
octo-cli file presigned   --filename report.pdf --fileSize 1048576   # --fileSize (bytes) is REQUIRED

upload — multipart form

Unlike most commands, file upload sends a multipart multipart/form-data body, not JSON. The --file flag is required and names a local path. --type (default chat) and --path are query parameters; they are not multipart form fields. The multipart body carries the file and any promoted body fields declared in the spec as text fields.

The maximum size and allowed/blocked extensions follow the current backend file policy. Multipart uploads and presigned URL issuance check that policy, including the configured file-size cap. The STS file credentials endpoint checks the filename/extension but has no size input or size check in the inspected backend; external COS enforcement for those credentials is unverified, so do not assume STS bypasses the file-size policy. There is no fixed 100 MB ceiling guaranteed by the CLI.

The response envelope carries the returned file descriptor under data — use it to build attachment references in message send.

download — returns a presigned URL

file download <path> issues a GET. The backend responds with a 302 redirect to the storage tier. The CLI does not stream raw bytes — instead it returns a JSON envelope containing the presigned URL:

octo-cli file download /chat/2026/05/abc123.png
# → {"ok":true,"data":{"url":"https://s3.../abc123.png?...","status":302,"content_type":"image/png"}}

Read the full file on GitHub · 136 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 Changed · +7 lines 82d276ba2dc4
  2. 1mo ago Changed · +3 lines fe4c458545a8
  3. 1mo ago Changed bbaefd4bc6b3
  4. 3mo ago First seen · 126 lines · 43 tokens per session scan A ee1350e7affd

Subscribe to this mod's changes

octo-files is a skill published in the GitHub repository Mininglamp-OSS/octo-cli (924 stars, last pushed 7d ago), licensed Apache-2.0. It adds 43 tokens to every session and 2,163 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

octo-files compared with skills from other repositories

octo-files next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
octo-filesMininglamp-OSS/octo-cliSkill9247d agoApache-2.0A43Claude Code, Codex
gh-skillcli/cliSkill47kyesterdayMITA41Claude Code, Codex
printing-press-amendmvanhorn/cli-printing-pressSkill5.1ktodayMITA222Claude Code
printing-press-importmvanhorn/cli-printing-pressSkill5.1ktodayMITA104Claude Code
code-reviewjrswab/axeSkill914yesterdayApache-2.0A0Claude Code, Codex
scaffold-projectMarve10s/Better-FullstackSkill830yesterdayMITA80Claude Code
git-workflowdimetron/pi-goSkill232todayMITA59Claude Code, Codex