Skip to content
Back to skills

Memroot Project

ASecurity

Lists, selects or creates the Memroot project used on this computer or in one folder. Use when the user asks to switch, choose, create or check a project, or when the session context says no Memroot project is selected. Projects can span several folders and repositories.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 27, 2026
ai-agentsrustshellnodegit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add memroot/plugins --skill memroot-project --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memroot Project?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memroot Project
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/memroot-memroot-project-b3339fce/badge)](https://www.skillsdirectory.com/skills/memroot-memroot-project-b3339fce)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: memroot-project
description: Lists, selects or creates the Memroot project used on this computer or in one folder. Use when the user asks to switch, choose, create or check a project, or when the session context says no Memroot project is selected. Projects can span several folders and repositories.
---

# Memroot project

The selected project applies to every session and agent on this computer until it is changed, except in folders bound to their own project (a binding covers its subfolders, and for a git repository its worktrees, but never a repository below it). A project represents the user's product and may cover several repositories or no repository. Invoke with the `memroot-project` skill from the native picker and an action: `status`, `list`, `use [PROJECT]`, `create NAME` or `unbind`; a bare project name is shorthand for `use NAME`.

Run the bundled project script with the action. The Memroot project line in the session context gives its exact command; it is `node "<plugin root>/scripts/project.mjs"`, and the plugin root is two directories above this SKILL.md:

```sh
node "<plugin root>/scripts/project.mjs" status
node "<plugin root>/scripts/project.mjs" list
node "<plugin root>/scripts/project.mjs" use
node "<plugin root>/scripts/project.mjs" use "My Shop"
node "<plugin root>/scripts/project.mjs" create "My Shop"
node "<plugin root>/scripts/project.mjs" use "My Shop" --here
node "<plugin root>/scripts/project.mjs" unbind --here
```

Only when the user asks for a project for this folder or repository, add `--here` (the folder the command runs in, so run it from the session's folder) to `use` or `create`: it binds that folder instead of changing the computer's project. `unbind` removes the binding; `list` shows every binding.

Pass each name as one quoted argument, and never interpolate an untrusted project name into shell code.

When the session context says no project is selected, run `use` with no name on your own: it keeps a still-valid selection or selects the account's only project, and otherwise fails with `PROJECT_CHOICE_REQUIRED` and the list of projects. Then ask the user which project to use and run `use "<name>"` with their answer, using the project ID when names are ambiguous. Switch to or create a named project only when the user asks. Never guess a project from the folder or repository name, and never take the first of several projects.

`status` prints the project with `"scope": "computer"`, or `"scope": "folder"` and the bound `folder`, or `next`, the command to run when none is selected; `stale` names a project the account can no longer use, and in a bound folder Memroot calls are refused until the user binds another project or runs `unbind`. `use` and `create` print the `project_id`; pass it to every `memory_retrieve` and `memory_create` call. The project guard approves a memory call that names the selected `project_id` and denies a missing or different one with the id to retry with (a `memory_retrieve` naming another project listed on this computer is approved with a note unless the id is not in lowercase; one with no id or an id naming no listed project is sent to the selected project), and denies memory calls with the command to select one when nothing is selected; otherwise Grok's own permission flow applies. Saves then follow the memroot-memory skill: durable lessons are saved automatically.

On `PROJECT_LOGIN_REQUIRED` or `PROJECT_REAUTHORIZATION_REQUIRED`, run `node "<plugin root>/scripts/project.mjs" login`; when the Memroot tools reject the selected project, follow [references/authorization.md](references/authorization.md); never switch account or project as a fallback.

Explain a failed creation or plan-limit error without claiming a project was created.

Files in this skill

  • SKILL.md3.7 KB
  • references/authorization.md519 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.