Install
$ agentstack add skill-pablothethinker-hermes-insight-hermes-insight ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Hermes Insight Skill
Hermes Insight gives an agent durable structural recognition across sessions. It matches current situations to rules and lived outcomes, names the controlling lever, grounds plans in the current digital environment, and learns recurring workflows. It does not replace reasoning, prove causality from similarity, or import AgentDrive.
When to Use
- Before difficult debugging, architecture, operations, or tool-routing decisions.
- When a failure, correction, or workflow appears to repeat.
- When a multi-step task should teach future Hermes sessions.
- When the workspace, available tools, or service state materially changed.
- When at least three independent task traces may contain a reusable workflow.
Don't use for trivia, one-step deterministic actions, bulk chat logging, or as evidence that a weak analogy is true.
Prerequisites
- The
hermes-insightplugin is enabled for the active Hermes profile. insight_statsreturns the intended agent id, database path, and version.- Each client or trust boundary uses a separate Insight database.
- No credential value, private key, or unrestricted transcript is supplied to Insight.
If the tools are missing, tell the user the plugin must be installed and Hermes restarted. Load references/AGENT-GUIDE.md for platform-specific installation instructions. Do not invent tool results or silently fall back to a different memory store.
How to Run
Invoke /hermes-insight to load this doctrine explicitly. Once loaded, call insight_perceive with the concrete situation and observations. Use insight_plan before consequential multi-step work, and keep all subsequent events under one task_id.
How It Works
observe environment → perceive → plan → task/events → attributed outcome → learn
state shape route evidence credit recurrence
The lattice contains typed patterns and links in local SQLite:
- rules, skills, tools, agents, events, tasks, environments, and induced sequences;
instance_of,next,applied,observed_in, and other explicit relations;- hybrid template/prototype/feature matching with structural priors;
- conservative reliability from patterns explicitly applied to completed tasks;
- recurring workflow induction across distinct task ids, including failures.
Similarity proposes a candidate. Explicit task outcomes and repeated independent traces determine whether that candidate earns trust.
For ontology, scoring, privacy, and advanced examples, load skill_view(name="hermes-insight", file_path="references/AGENT-GUIDE.md").
Quick Reference
| Tool | Use | |---|---| | insight_perceive | Situation → lever, matching structures, echoes, usable | | insight_plan | Ranked route with reliability and environment state | | insight_observe | Typed event or scrubbed workspace snapshot/delta | | insight_task | Open/close a task and attribute its outcome | | insight_experience | Record a meaningful event or episode | | insight_learn | Mine repeated workflows across distinct tasks | | insight_feedback | Explicitly strengthen or weaken known patterns | | insight_hygiene | Decay noise and repair structural links | | insight_cycle | Deeper recognition for novel, substantive situations |
Procedure
- Ground the environment when it matters. Call
insight_observe(mode="environment", root="") after changing repository, branch, dependency state, or available tools. Continue when the returned snapshot and delta describe the intended workspace.
- Perceive the concrete situation. Call
insight_perceivewith component names,
symptoms, exact errors, observations, and an optional domain. Continue only after checking usable, lever, top score, and the top rule.
- Refuse weak structure. If
usable=false, gather two or three new observations and
perceive again. Do not turn a weak match into a root-cause claim.
- Plan consequential work. Call
insight_planand inspect the primary route,
alternatives, explicit success/failure counts, environment fingerprint, verification step, and rollback condition. Continue when the route fits current permissions and state.
- Open a task. Call
insight_task(action="open", name=..., goal=...)and retain its
task_id. The task boundary is the unit of independent workflow evidence.
- Leave typed evidence. For important tool or skill transitions, call
insight_observe(mode="event", event_type=..., task_id=..., tool=... or skill_id=..., status=..., outcome=..., provenance=...). Use insight_experience for a concise human-readable decision, failure, correction, or discovery.
- Execute and verify. Follow the chosen route, measure the expected result, and stop
or roll back when its stated condition is met. Completion requires observable evidence, not the absence of an exception.
- Close with honest credit. Call `insighttask(action="close", taskid=...,
outcome=..., summary=..., usedpatternids=[...])`. Include only patterns or skills actually applied. A recommendation that was merely viewed receives no credit.
- Induce recurrence after enough tasks. Call
insight_learn(materialize=false)after
at least three comparable typed tasks. Inspect distinct-task support, labeled outcomes, counterexamples, environment count, Wilson lower bound, and lifecycle.
- Materialize cautiously. Use
insight_learn(materialize=true)only when the
candidate is understandable and its counterexamples are retained. This writes a local sequence pattern for review; it never writes or executes a Hermes skill.
From a Verified Pattern to a Hermes Skill
Promote procedure only when insight_learn reports verified_local and the evidence matches the intended environment:
- Define applicability and excluded conditions.
- Include required tools, ordered steps, verification, rollback, and known failures.
- Cite aggregate support and counterexamples without copying private task bodies.
- Ask for user review before calling
skill_manage(action="create", ...)or patching an
existing skill. Respect the Hermes skill write-approval gate.
- Start a new Hermes session before expecting discovery; the skill index is session-cached.
Never auto-publish or auto-install a learned procedure. Private evidence remains in its profile compartment.
Pitfalls
- Similarity is not causality. A high match score still requires observation.
- Selection is not application. Do not place untried ids in
used_pattern_ids. - One task is not recurrence. Repeated events inside one task count once.
- Success-only memory overfits. Retain failed tasks and counterexamples.
- Materialized is not verified.
candidatesequences remain review-only. - Environment drift invalidates precedent. Capture a new snapshot after material change.
- Shared databases cross trust boundaries. Use one database per profile/client.
- Raw telemetry becomes a liability. Store concise structure and artifact references.
- Completed-session spam hides signal. Record meaningful transitions, not every turn.
Verification
insight_statsreports the expected profile and a writable local database.- A concrete
insight_perceivereturns a meaningful lever; a vague query returns
usable=false.
insight_plandisplays the current environment snapshot and separates relevance from
reliability.
- Closing a task with actual
used_pattern_idschanges explicit outcome evidence. - Three identical traces inside one task produce no recurring-workflow candidate.
- Three or more distinct tasks can produce a
candidate; only the documented evidence
gate can produce verified_local.
insight_learnalways reportsautomatic_skill_write=falseand
automatic_execution=false.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: PabloTheThinker
- Source: PabloTheThinker/hermes-insight
- License: MIT
- Homepage: https://github.com/PabloTheThinker/hermes-insight#readme
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.