momhq/mom/mom-project
Claude Code and agent skill by momhq/mom
- community
Checking that the SKILL.md file is still in the repository.
Bind the current directory to a MOM project so captured memories are scoped to it. Use when the user wants to set up project scoping, bind a repo, declare a project id, rebind a directory, or asks about .mom-project.yaml.
Install
npx vskill@latest install momhq/mom/mom-projectSKILL.md
Invoking this skill is the user's request to set up or change project scoping. Proceed with the flow below immediately — do not ask the user to confirm they want to bind. (The skill still asks for confirmation of the id itself in step 2.)
A bound directory has a .mom-project.yaml file at its root declaring a project id. Memories captured while working in that directory are tagged with that id, and recall scopes to it by default.
Preflight
Check that mom is on PATH:
If it is missing, tell the user MOM is not installed and ask permission to install it:
If the user agrees, run that command. If the user declines, stop. Do not install MOM without explicit permission.
Flow
- Check whether the current directory is already bound:
``bash test -f .mom-project.yaml && cat .mom-project.yaml ``
If the file exists, show the current id and ask the user to either keep it or rebind to a different one. Warn that rebinding does not merge memories from the old id — recall will only see memories tagged with the new id.
If the file does not exist, continue.
- Propose an
id. Default to the current directory's basename, lowercased, trimmed, with spaces replaced by dashes. Show the proposal and ask the user to confirm or pick a different one.
The id is an opaque label. Suggest something specific (for example vendor/project or team-service) if the user might sync memories with other machines or teammates — unrelated projects sharing the same id will collide.
- Write the binding:
``bash mom project bind --id <chosen-id> ``
If the directory already declares a different id and the user agreed to rebind, append --force.
- Tell the user to commit
.mom-project.yamlto version control so the binding travels with the repo.
Rules
- Never run
mom project bindwithout first confirming the id with the user. - Never run
mom initfrom this skill. - If
mom project bindreturns an error, surface the error and stop. - Capture only begins after binding — until
.mom-project.yamlexists, the watcher records nothing for this directory. Mention this when confirming a successful bind. - After a successful bind, confirm in one line that the directory is now bound to
<id>.
Postflight (version hint)
Any mom ... command may print a banner to stderr like:
If you see that line, finish the task first, then add one short line at the end of your reply suggesting the upgrade. Do not run the upgrade yourself.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mom-project/SKILL.md
Popularity
- Repository stars
- 56
- Repository forks
- 6
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/momhq/mom/mom-project)