Skip to content
AI & Agents
Skill

/openloomi-hooks

OpenLoomi × Claude Code hooks installer. Use when the user wants Claude Code's lifecycle (SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop, SubagentStart, SubagentStop, Notification) to mirror onto the Loomi Pet, or wants to auto-archive every Stop into OpenLoomi

From plugin
openloomi
1k28 skills10 commands

Claude Code

$ npx -y skills add melandlabs/openloomi --skill openloomi-hooks --agent claude-code

SKILL.md

openloomi-hooks.SKILL.md
name: openloomi-hooks
description: "OpenLoomi × Claude Code hooks installer. Use when the user wants Claude Code's lifecycle (SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop, SubagentStart, SubagentStop, Notification) to mirror onto the Loomi Pet, or wants to auto-archive every Stop into OpenLoomi memory. Triggers: install hooks, /openloomi:hooks, hooks install, hooks uninstall, hooks status, mirror claude on pet, auto-archive stop."
allowed-tools: Bash(node ${CLAUDE_PLUGIN_ROOT}/scripts/loomi-bridge.mjs *)

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.

Read more
@melandlabs
Ships withopenloomi

OpenLoomi is an open-source AI coworker. It connects your work tools, understands what you’re working on, and tells you what needs your attention, why it matters, and what to do next. It’s your open-source Attention Agent.

Stars on GitHub

Momentum

stars in total
1.0k
Star history of melandlabs/openloomi on GitHub, a chart by star-history.com

Other skills on openloomi.

data_analysis

data_analysis

High-performance data analysis using Polars - load, transform, aggregate, visualize and export tabular data. Use for…

continual-learn

continual-learn

Persist learning across turns by actively maintaining MENTAL_MODEL.md in the workspace. Use for iterative coding, debugging,…

create-task

create-task

Create an end-to-end Continual Learning Bench task. Use when adding a new src/tasks/<name> benchmark task, including design…

composio

composio

Use 1000+ external apps via Composio - either directly through the CLI or by building AI agents and apps with the SDK

openloomi-api

openloomi-api

openloomi HTTP API reference (local-first, served from the OpenLoomi Desktop app at http://localhost:3414). Use when working with…

openloomi-connectors

openloomi-connectors

openloomi Connectors tools - manage the native 7 messaging integrations and pair with the composio skill for the 1000+ apps OAuth…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about openloomi-hooks.

Which coding agents can use openloomi-hooks?
openloomi-hooks installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.