Skip to content
Skill

Openloomi hooks

Installs and manages hooks that mirror Claude Code events onto the Loomi Pet

Openloomi hooks is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
1K
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Openloomi hooks

This Claude Code plugin skill installs, removes and reports on a bundled set of lifecycle hooks for OpenLoomi. The hooks cover session start, prompt submission, tool use, subagent activity, stop and notification events, so the Loomi Pet can reflect what Claude Code is doing.

Installation is opt-in. The bundle is merged into the user's Claude Code settings under its own plugin-marked block, leaving other plugins' hooks untouched. Removing it deletes only that block, and a status check reports whether it is active. Writes go through a temporary file that is then renamed, so the settings file is not left half-written.

The skill runs a Node.js bridge script shipped with the plugin. The Stop hook is designed to always exit successfully, reporting any archiving failure as a JSON note rather than blocking Claude Code's response.

When your agent uses it

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the openloomi plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add melandlabs/openloomi
/plugin install openloomi@openloomi

Or copy only this skill to ~/.claude/skills/openloomi-hooks:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/openloomi-hooks &&
cp -R "$tmp/plugins/claude/skills/openloomi-hooks" ~/.claude/skills/openloomi-hooks &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/openloomi-hooks inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/openloomi-hooks to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/openloomi-hooks &&
cp -R "$tmp/plugins/claude/skills/openloomi-hooks" ~/.agents/skills/openloomi-hooks &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/openloomi-hooks inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/openloomi-hooks to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/openloomi-hooks &&
cp -R "$tmp/plugins/claude/skills/openloomi-hooks" ~/.cursor/skills/openloomi-hooks &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/openloomi-hooks inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/melandlabs/openloomi.git --path plugins/claude/skills/openloomi-hooks

Or copy the folder to ~/.gemini/skills/openloomi-hooks yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/openloomi-hooks:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/openloomi-hooks &&
cp -R "$tmp/plugins/claude/skills/openloomi-hooks" ~/.copilot/skills/openloomi-hooks &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/openloomi-hooks inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/melandlabs/openloomi.git

Then copy openloomi/plugins/claude/skills/openloomi-hooks into your agent's skills folder as openloomi-hooks. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Install hook bundle
Merges the plugin's lifecycle hooks into the Claude Code settings file without overwriting existing hooks.
Uninstall plugin hooks
Removes only the plugin's own hook block and leaves other plugins' hooks in place.
Check hook status
Reports whether the OpenLoomi hook bundle is currently active.
Mirror lifecycle events
Covers session start, prompt submit, tool use, subagent start and stop, and notifications.
Archive on stop
Can send each Stop event into OpenLoomi memory without blocking the response stream.
Atomic settings writes
Updates the settings file through a temporary file and rename to avoid partial writes.

Good for

  • Mirror my Claude Code activity onto the Loomi Pet
  • Install the OpenLoomi hooks into my Claude Code settings
  • Check whether the OpenLoomi hooks are active
  • Remove only the OpenLoomi hooks and keep my other hooks
  • Automatically archive each finished Claude Code session into OpenLoomi memory

Openloomi hooks FAQ

Does installing the plugin turn the hooks on automatically?

No. The hook bundle is never installed automatically; the user must run the install command explicitly.

Will uninstalling remove hooks from other plugins?

No. Uninstall removes only the plugin-marked block, and running it again reports that nothing was removed.

What happens if archiving fails on Stop?

The Stop hook always exits successfully and reports the skipped archive as a JSON note, so it cannot block Claude Code's response.

How do I install Openloomi hooks in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/openloomi-hooks to use it in all your projects, or to .claude/skills/openloomi-hooks in one project. Or install the openloomi plugin, which includes it: /plugin marketplace add melandlabs/openloomi, then /plugin install openloomi@openloomi.

Does Openloomi hooks run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Openloomi hooks?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Openloomi hooks?

The closest alternatives to Openloomi hooks are Openloomi install, Lifecycle audit, Writing hooks, Openloomi loop and Openloomi pet.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from melandlabs/openloomi

  1. Guides an agent through loading, transforming and charting tabular data with Polars

    • Open source
    • 1K GitHub stars
    • Analytics and data
  2. Keeps a MENTAL_MODEL.md scratchpad in the workspace to carry lessons across turns

    • Open source
    • 1K GitHub stars
    • Knowledge and memory
  3. Guides an agent through designing and building a continual learning benchmark task

    • Open source
    • 1K GitHub stars
    • AI models and LLM tooling
  4. Lets an agent search, connect and run actions across 1000+ external apps via Composio

    • Open source
    • 1K GitHub stars
    • Developer tools
  5. Guides installing, configuring and troubleshooting OpenLoomi Desktop from Codex

    • Open source
    • 1K GitHub stars
    • Developer tools
  6. Drives the OpenLoomi desktop pet's state and guides custom sprite themes for Codex

    • Open source
    • 1K GitHub stars
    • Developer tools