openloomi-hooks

openloomi-hooks is a skill for Claude Code from melandlabs/openloomi. It costs 108 tokens per session (536 once invoked), scanned B, original, Apache-2.0.

A hook installer that connects Claude Code's session events to the OpenLoomi desktop companion and can save completed sessions to OpenLoomi memory.

In plain words
What is it for?
It helps install, remove, or check the status of OpenLoomi hooks, mirror events such as tool use and session stops, and archive stopped sessions.
Why use it?
It removes the need to wire these event callbacks into Claude Code settings by hand, while preserving hooks belonging to other plugins.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the openloomi plugin — 11 skills, 10 commands, 8 hooks shipped together

Good fit It helps install, remove, or check the status of OpenLoomi hooks, mirror events such as tool use and session stops, and archive stopped sessions.

Compare 6 skills from other repositories ↓
About the project

OpenLoomi is an open-source desktop AI coworker that connects work tools, gathers context, and highlights decisions or actions needing attention. It is for people managing work across multiple apps, and its catalogue add-ons extend the resident desktop for agent frameworks such as Claude Code, Codex, OpenCode, Hermes, and OpenClaw.

melandlabs/openloomi · 1,025 stars · on GitHub · openloomi.ai

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melandlabs/openloomi
Claude Code
/plugin install openloomi

Made for: Claude Code.

Or install openloomi, the plugin that ships this one along with the rest of its 11 skills, 10 commands, 8 hooks.

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 openloomi-hooks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/melandlabs/openloomi/openloomi-hooks"><img src="https://agentmods.dev/badge/skills/melandlabs/openloomi/openloomi-hooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 536 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00108 $0.00536
Opus 5 $0.00054 $0.00268
Sonnet 5 $0.00022 $0.00107
Haiku 4.5 $0.00011 $0.00054

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

Security

Grade B, and why

openloomi-hooks scanned grade B 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 11d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- `/openloomi:hooks install` — merge the bundle into `~/.claude/settings.json`
plugins/claude/skills/openloomi-hooks/SKILL.md · 44 lines

What it actually says

OpenLoomi Hooks Sub-skill

The plugin ships a hook bundle in hooks/hooks.json but never installs it automatically. Users must explicitly run one of:

  • /openloomi:hooks install — merge the bundle into ~/.claude/settings.json
  • /openloomi:hooks uninstall — strip only the plugin's block (other plugins' hooks are preserved)
  • /openloomi:hooks status — report whether the bundle is currently active

Under the hood this calls:

node ${CLAUDE_PLUGIN_ROOT}/scripts/loomi-bridge.mjs install-hooks
node ${CLAUDE_PLUGIN_ROOT}/scripts/loomi-bridge.mjs uninstall-hooks
node ${CLAUDE_PLUGIN_ROOT}/scripts/loomi-bridge.mjs hooks-status

Safety guarantees

  • install-hooks is merge-no-overwrite: only adds the plugin's block under hooks.__openloomi_claude_plugin_hooks__. Existing hooks for other plugins are not touched.
  • uninstall-hooks removes only the plugin-marked block; rerunning it after the first time reports removed: false, never deletes anything else's hooks.
  • The merge is atomic (writeFile to a temp file, then rename).
  • The Stop hook always exits 0 — archive failures are reported as JSON {continue: true, _openloomi: {archive: "skipped", reason: ...}} so they can never block Claude Code's response stream.

Suggested user prompt

This plugin can mirror Claude Code's lifecycle onto your Loomi Pet. To enable this, run /openloomi:hooks install. To disable, run /openloomi:hooks uninstall. The plugin never modifies your ~/.claude/settings.json without explicit consent.

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. 11d ago First seen · 44 lines · 108 tokens per session scan B e25f4bc8ef56

Subscribe to this mod's changes

openloomi-hooks is a skill published in the GitHub repository melandlabs/openloomi (1,025 stars, last pushed 10d ago), licensed Apache-2.0. It adds 108 tokens to every session and 536 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

harness-creator

Build, audit, and improve harnesses that make AI coding agents reliable: AGENTS.md/CLAUDE.md instruction files, feature/state tracking, verification gates, scope boundaries, session handoff, memory persistence, context budgets, tool-permission safety, and multi-agent coordination. Use this whenever a coding agent is…

walkinglabs/learn-harness-engineering · 142 tokens

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright…

alleneee/skill-agent · 62 tokens

slack-gif-creator

Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".

alleneee/skill-agent · 57 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

alleneee/skill-agent · 59 tokens

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external agents through well-designed tools. Use when building MCP servers to integrate external APIs or agents, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

alleneee/skill-agent · 61 tokens

self-improvement

A process for recording useful lessons from unexpected failures, user corrections, missing abilities, and reusable project patterns.

alleneee/skill-agent · 60 tokens