opencode-ollama-steroids: Skill for OpenCode

.opencode/skills/safe-session-redaction/SKILL.md

safe-session-redaction is a skill for OpenCode from pillaiharish/opencode-ollama-steroids. It costs 39 tokens per session (309 once invoked), scanned A, original, Apache-2.0.

A pre-publication check for secrets and private information in files, logs, screenshots, and coding-agent session material.

In plain words
What is it for?
Use it before releasing a repository, article, screenshot, example, archive, or session summary, then review flagged material manually.
Why use it?
It helps prevent passwords, tokens, personal details, local paths, and private project information from being published accidentally.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

This is pillaiharish/opencode-ollama-steroids's own configuration. It tells OpenCode how to work on opencode-ollama-steroids itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything opencode-ollama-steroids configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/validate_public_pack.py ..

Reuse

Borrowing it

Nothing to install: this file belongs to pillaiharish/opencode-ollama-steroids. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pillaiharish/opencode-ollama-steroids/main/.opencode/skills/safe-session-redaction/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pillaiharish/opencode-ollama-steroids

Made for: 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 safe-session-redaction

README.md
[![agentmods](https://agentmods.dev/badge/skills/pillaiharish/opencode-ollama-steroids/safe-session-redaction/github.svg)](https://agentmods.dev/skills/pillaiharish/opencode-ollama-steroids/safe-session-redaction)
Your own site
<a href="https://agentmods.dev/skills/pillaiharish/opencode-ollama-steroids/safe-session-redaction"><img src="https://agentmods.dev/badge/skills/pillaiharish/opencode-ollama-steroids/safe-session-redaction/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 safe-session-redaction

Your own site · 80×15
<a href="https://agentmods.dev/skills/pillaiharish/opencode-ollama-steroids/safe-session-redaction"><img src="https://agentmods.dev/badge/skills/pillaiharish/opencode-ollama-steroids/safe-session-redaction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 309 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.00039 $0.00309
Opus 5 $0.00019 $0.00154
Sonnet 5 $0.00008 $0.00062
Haiku 4.5 $0.00004 $0.00031

Measured 9d ago against content hash bcb0f7ce780f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

safe-session-redaction 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 9d 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/skills/safe-session-redaction/SKILL.md · 55 lines

What it actually says

Safe Session Redaction

Use this skill before publishing a repo, blog post, screenshot, example, release archive, or session summary.

Scan Targets

Check public-bound files for:

  • local absolute paths;
  • emails, usernames, and personal data;
  • API keys, tokens, passwords, private keys, and .env values;
  • raw OpenCode session exports, JSONL event streams, and raw logs;
  • private prompts or prompt history;
  • screenshots and browser artifacts;
  • private repo URLs, branch names, issue titles, customer names, or roadmap details.

Required Commands

Run:

python3 scripts/validate_public_pack.py .

For session material, run:

python3 scripts/redact_sessions.py agent-sessions/<project-slug>/<prompt-id>

To produce redacted copies:

python3 scripts/redact_sessions.py agent-sessions/<project-slug>/<prompt-id> --out tmp-redacted-session

Manual Review

Automated redaction is not enough. Manually inspect:

  • markdown files;
  • script snippets;
  • sample environment files;
  • generated output;
  • screenshots and browser captures;
  • git remotes and URLs;
  • logs copied into docs.

Do not publish if suspicious material remains.

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. 9d ago First seen · 55 lines · 39 tokens per session scan A bcb0f7ce780f

Subscribe to this mod's changes

safe-session-redaction is a skill published in the GitHub repository pillaiharish/opencode-ollama-steroids (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 309 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

all-hands

Convene the relevant SpecRoute implementation agents to plan, collaborate, implement, and review a piece of work end-to-end. Engages only the specialists the work actually touches, runs autonomously through planning into implementation and review, and accepts free-text work or a path to a PRD / spec / issue file.…

Enovatr-Labs/SpecRoute · 106 tokens

doc-currency-check

Audit SpecRoute's documentation for staleness against reality - vendor facts, version anchors, dates written in the wrong tense, counts that no longer match disk, and claims mirrored inconsistently across the four vendor-matrix copies. Use before a release, after any vendor ships a breaking change, or on a scheduled…

Enovatr-Labs/SpecRoute · 106 tokens

audit-artifact

Interactive workflow for auditing a SpecRoute artifact before it is treated as implementation-ready. Use when checking a PRD, spec triplet, prompt set, agent file, skill, command, hook, rule, or runtime layout. Asks which artifact path to inspect and which contract to apply. Triggers - "audit this artifact", "check…

Enovatr-Labs/SpecRoute · 87 tokens

frontmatter-lint

Validates YAML frontmatter across SpecRoute artifacts (agents, skills, commands) against the per-artifact contract. Reports missing required fields, malformed YAML, and drift between similar artifacts. Use proactively before commits, when reviewing PRs, or when an agent/skill/command isn't loading correctly.

Enovatr-Labs/SpecRoute · 64 tokens

add-vendor

Interactive workflow for adding a new agent CLI vendor to the SpecRoute supported matrix. Walks through scaffolding the runtime layout, adding the vendor's row to the matrix table, creating the per-vendor rule file, wiring MCP rendering (if applicable), and updating cross-vendor sync. Use when proposing or…

Enovatr-Labs/SpecRoute · 73 tokens

scaffold-artifact

Interactive scaffolding for any SpecRoute artifact (PRD, spec, agent, skill, command, hook, prompt, runtime layout). Asks for artifact type and vendor (where applicable), copies the canonical template, generates the directory structure, and pre-fills the frontmatter. Use when starting a new artifact under prds/…

Enovatr-Labs/SpecRoute · 87 tokens