Repository navigation
fix(mcp): give a note moved across projects a permalink for its new path #2229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+226
−12
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| --- | ||
| title: skills(7) | ||
| type: manpage | ||
| section: 7 | ||
| name: skills | ||
| summary: Basic Memory skills over MCP - the bundled memory-* skills, and serving your own notes as skills with bm project skills | ||
| generated: hand | ||
| --- | ||
|
|
||
| # skills(7) | ||
|
|
||
| ## NAME | ||
|
|
||
| **skills**: the skills a Basic Memory MCP server serves, and how to serve your own notes as skills | ||
|
|
||
| ## DESCRIPTION | ||
|
|
||
| A skill is a `SKILL.md` file of instructions an assistant loads when a task | ||
| calls for it. The Basic Memory MCP server serves skills as resources, and | ||
| supports the MCP skills extension (SEP-2640), so a client that supports it can | ||
| list and load them. | ||
|
|
||
| There are two kinds: | ||
|
|
||
| - **Bundled skills** ship with Basic Memory, such as `memory-notes`, | ||
| `memory-capture` and `memory-start`. Each is served as | ||
| `skill://<name>/SKILL.md`, with its reference files beside it. They are always | ||
| on. | ||
| - **Note skills** are notes in your own projects. They are off until you turn | ||
| them on for a project. | ||
|
|
||
| ## NOTE SKILLS | ||
|
|
||
| A note becomes a skill when its frontmatter has `type: skill` and the Agent | ||
| Skills `name` and `description` fields: | ||
|
|
||
| ``` | ||
| --- | ||
| title: Weekly Review | ||
| type: skill | ||
| name: weekly-review | ||
| description: Run a weekly review of open tasks and decisions in this project. | ||
| --- | ||
|
|
||
| # Weekly Review | ||
|
|
||
| 1. Search for notes tagged #task updated this week. | ||
| 2. Summarize the decisions. | ||
| ``` | ||
|
|
||
| Turn note skills on for one project in a shell: | ||
|
|
||
| ``` | ||
| bm project skills research | ||
| ``` | ||
|
|
||
| The project's skill notes are then served as | ||
| `skill://<project>/<name>/SKILL.md`, for example | ||
| `skill://research/weekly-review/SKILL.md`. The note's markdown is the skill, | ||
| byte for byte. Edits show up on the next request. Clients that cache the skill | ||
| list need a restart to see a new skill. | ||
|
|
||
| Turn them off again with: | ||
|
|
||
| ``` | ||
| bm project skills research --off | ||
| ``` | ||
|
|
||
| ## WHY IT IS OFF BY DEFAULT | ||
|
|
||
| Any agent that can write a note in a project can write a skill note, and other | ||
| agents follow skills as instructions. Serving a project's notes as skills is | ||
| the user's decision, not the note author's. Turn it on only for projects whose | ||
| notes you trust as instructions. | ||
|
|
||
| ## GOTCHAS | ||
|
|
||
| - A note with `type: skill` but no `name` or `description`, or with frontmatter | ||
| that does not parse, is not served. The server logs the reason. | ||
| - Two notes in one project that declare the same `name` are both left out until | ||
| one is renamed. | ||
| - Skills from different projects never collide: the project is part of the URI. | ||
| A client looking for a skill by purpose matches on its `name`. | ||
| - A server pinned to one project (`bm mcp --project`) serves only that project's | ||
| skills, and only if it is turned on. | ||
|
|
||
| ## SEE ALSO | ||
|
|
||
| - see_also [[setup(7)]] | ||
| - see_also [[bm-write(3)]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.