hecate-backend

hecate-backend is a skill for Claude Code, Codex from hecatehq/hecate. It costs 47 tokens per session (17,883 once invoked), scanned A, original, MIT.

A development skill for Hecate’s Go backend, including its gateway, agent runtime, AI providers, sandbox, and storage. Hecate is a control layer that manages requests, permissions, execution, and records.

In plain words
What is it for?
It is for work outside the React user interface, including gateway behavior, agent execution, provider connections, sandboxing, storage, policy enforcement, and backend verification.
Why use it?
It keeps backend changes consistent with the project’s rules for security, runtime behavior, tracing, costs, and approvals.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Codex.

Good fit It is for work outside the React user interface, including gateway behavior, agent execution, provider connections, sandboxing, storage, policy enforcement, and backend verification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hecatehq/hecate/backend
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 hecatehq/hecate --skill backend
Clone the repo
git clone --depth 1 https://github.com/hecatehq/hecate

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 hecate-backend

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hecatehq/hecate/backend"><img src="https://agentmods.dev/badge/skills/hecatehq/hecate/backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 17,883 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 7 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 System Prompt Leakage · line 470
    Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
    Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
  • medium Prompt Injection · line 1026
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 1028
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 1029
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 1030
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 1031
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 1032
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00047 $0.17883
Opus 5.5 $0.00019 $0.07153
Sonnet 5.5 $0.00009 $0.03577
Haiku 4.5 $0.00005 $0.01788

Measured 17d ago against content hash b2e9665bdbd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hecate-backend 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 17d 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.

docs-ai/skills/backend/SKILL.md · 1,212 lines

How it starts

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

Hecate backend skill

Use this skill for any work outside ui/. The React UI has its own skill at ../ui/SKILL.md. For the internal/providers/ package specifically, also reach for ../providers/SKILL.md — it owns the api↔providers boundary and the seven-step "add a wire field" chain.

Canonical guidance lives here

Don't duplicate. This skill is the backend lens; the rules themselves live in:

Product lens

The backend should feel like:

  • A single-process gateway control plane.
  • A deny-by-default policy enforcer.
  • A runtime-aware proxy that explains its decisions.
  • A debugging surface — every request leaves a trace, every cost is itemized, every approval is logged.

It should not feel like:

  • A thin pass-through with marketing on top.
  • A configurable framework where you bring your own everything.
  • A research demo that works in one provider's happy path.

Default to operator confidence: clear status, clear errors, deterministic state, no surprises on restart.

Engineering thesis

Calm, durable, and explicit. Code should age well — the runtime is supposed to live for years, not iterations.

Prefer one gateway process, one port, embedded UI (//go:embed ui/dist); deterministic startup with env-driven config; backend tier choice surfaced as a config knob, never inferred; explicit error wrapping with cause chains; standard library first, well-known third party second, novel deps last.

Operator priorities

Every endpoint, every config knob, every error message should answer:

Read the full file on GitHub · 1,212 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. 17d ago Changed · +19 lines b2e9665bdbd7
  2. 1mo ago Changed · +24 lines b6ec0a723641
  3. 1mo ago Changed · +10 lines cad1690fed7a
  4. 2mo ago Changed · +3 lines 680e9e8c8dc9
  5. 2mo ago Changed · +33 lines ec7729d8ddf5
  6. 2mo ago Changed · +22 lines 8d7491bec57d
  7. 2mo ago Changed · +24 lines 6bdd2058c3b1
  8. 3mo ago First seen · 1,077 lines · 47 tokens per session scan A 1b8fc9221fa9

Subscribe to this mod's changes

hecate-backend is a skill published in the GitHub repository hecatehq/hecate (24 stars, last pushed 4d ago), licensed MIT. It adds 47 tokens to every session and 17,883 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

hecate-backend compared with skills from other repositories

hecate-backend next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hecate-backendhecatehq/hecateSkill244d agoMITA47Claude Code, Codex
rust-gatewayBerriAI/litellmSkill65ktodaynoneA70Claude Code, Codex
open-sourcebrowser-use/browser-useSkill123ktodayMITA101Claude Code
stripe-projectsNousResearch/hermes-agentSkill269ktodayMITA15Claude Code, Codex
fastapi-patternsaffaan-m/ECCSkill317k4d agoMITA35Claude Code, Kiro
statusmem0ai/mem0Skill70k2d agoApache-2.0A54Claude Code
mem0-test-integrationmem0ai/mem0Skill70k2d agoApache-2.0A207Claude Code, Codex