Repomagpie

io.github.Varshavia由 GitHub 账号 Varshavia 发布v0.2.1更新于 Nov 7, 2026

Your agent checks your notes before installing and stops on packages you or your team ruled out.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

一个本地仓库与工具笔记库,记录你自己的评价,让编码助手在安装软件包前先检索并核对。

可以做什么
  • 检索并回忆你对仓库和工具的笔记,优先返回你的评价,供助手在选型或安装前参考
  • 读取项目清单和 README,推荐笔记中适合当前项目的工具
  • 把决定保存为 Markdown 笔记,含评价、替代方案和使用场景提示
  • 按关键词、关注点和类型发现新的 GitHub 仓库,并附上你的看法
  • 读取随仓库提交的团队共享项目笔记,与个人笔记一并使用
适用场景
适合经常试用库、命令行工具或 MCP 服务器,希望助手记住哪些好用、哪些要避开的人;也适合团队想在安装前统一核对工具规则。
运行要求
通过 npm 安装的本地进程(需 Node.js 22.12 或更高版本),并用 setup 命令为各助手配置;无需账号或 API 密钥。可选通过 GITHUB_TOKEN、GH_TOKEN 或 GitHub CLI 登录提高 GitHub API 速率限制。
安装前请注意
setup 会修改助手的配置文件并保留备份,备份中可能含助手密钥;钩子可在安装你标注要避开的包时暂停,但确认后仍会继续。笔记被读取时会发送给你的助手所用模型服务商,GitHub 请求会发送仓库名或搜索词及令牌。提交到仓库的项目笔记对任何能读取该仓库的人可见。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Repomagpie,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

English · Türkçe · Deutsch · Español · 简体中文 · 日本語

[RepoMagpie logo: a magpie in profile]

RepoMagpie

Your coding agent remembers the repos you've tried, and what you thought of them.

RepoMagpie is your personal journal of the open-source repos and tools you've tried (libraries, CLIs, MCP servers, agent skills), with your own verdict on each. Your coding agent checks it before it picks a tool: it suggests what worked for you, and it stops on what you ruled out.

[npm version] [MCP server] [Node.js 22.12 or later] [CI status] [MIT licence]

Quick start · How it works · What each agent gets · FAQ · Documentation

npm install -g repomagpie
repomagpie setup

Months ago you tried pdfkit and gave up on it. Today your agent is about to install it again, and in Claude Code, RepoMagpie's hook asks you first, with your own note:

text
$ npm install pdfkit
RepoMagpie: you noted to avoid pdfkit (personal journal)Verdict: "avoid: async streams painful; use puppeteer"Alternatives in your personal journal: "puppeteer" (Verdict: "default for PDF rendering")~/.magpie/notes/npm--pdfkit.md
Do you want to proceed?
  • Remember: write your verdict, in your own words, on every repo and tool you try: when to use it, when to avoid it, and what to use instead. repomagpie note pdfkit "avoid: async streams painful; use puppeteer" writes one, and your agent offers, once at a task's end, to save a decision with your reason. Each note is a Markdown file you own.
  • Recall: your agent checks those verdicts before it picks a tool, through the skill and the MCP server. Ask "what do I have for browser testing?" in any language, or let repomagpie suggest list the notes that fit a project. If your agent tries to install something you ruled out, the hook stops it so that you're asked first.
  • Discover: find new repos on GitHub by words, concern and kind, and add them to your journal with your take: repomagpie discover, or the app. Each result says why it is there.

It works in seven coding agents, among them Claude Code, Codex CLI, Cursor and Gemini CLI. Everything stays local: plain Markdown files on your machine, no account, no cloud server. For teams, the same notes can live in the repository and be shared through git (below).

Status: stable and in active development. The changelog lists every version; the roadmap shows what comes next.

Quick start

  1. Install the repomagpie command and set it up in your coding agents:

    bash
    npm install -g repomagpierepomagpie setup

    setup shows which files it will change, asks first, and backs up each file it edits; repomagpie setup --dry-run only shows the plan (agents).

  2. Check what is wired in each agent:

    bash
    repomagpie doctor

    doctor also lists setup's backups, which can hold your agents' secrets (SECURITY.md); repomagpie setup --delete-backups deletes them.

  3. Write your first note. A GitHub URL also fetches the repository's licence, topics and agent skills, and --use-when lets you find the note later by what you need:

    bash
    repomagpie note pdfkit "avoid: async streams painful; use puppeteer" --type npm --alternative puppeteerrepomagpie note https://github.com/microsoft/playwright-cli "use for agent browser tests" --use-when "an agent checks a web UI"

    GitHub allows 60 requests an hour without a token. To raise the limit, sign in with the GitHub CLI (gh auth login): RepoMagpie uses its login. Or set GITHUB_TOKEN or GH_TOKEN. repomagpie doctor says which one it uses.

[!IMPORTANT] RepoMagpie comes only from this repository, the npm package repomagpie and the agent skill on skills.sh. There are no installers, no .exe or other downloads, no other packages and no other website: anything else that calls itself RepoMagpie is not ours (SECURITY.md).

How it works

[How RepoMagpie works: your agent is about to run npm install pdfkit; the skill or the MCP tool recall checks first, and the hook checks the install command as a backstop; both read your personal journal in ~/.magpie and the project journal in .magpie/; your Verdict, "avoid: async streams painful; use puppeteer", comes back, and your agent asks you before the install.]

Before your agent picks a tool, the skill tells it to check your journals: search or suggest while it chooses, and recall before an install, as MCP tools or repomagpie commands. Your verdicts come back first. What worked for you is suggested; when a note says to avoid a package, your agent shows it to you and asks first. The hook checks the install command itself, in case the agent skips that step.

There is no extra model, no API key and no telemetry. RepoMagpie works as well as your agent follows the skill; without a hook, that includes the check before an install.

Ask your agent

  • What do I have for browser testing? Your agent searches your journals and answers with the notes it finds, Verdict first.
  • How should database security work in this project? Your agent answers with your notes in the security and database domains that fit the project, and says why.
  • Install pdfkit. Your agent recalls it first, shows your avoid note with its alternatives, and asks you before it installs anything.
  • Which of my tools fit this project? suggest reads the project's manifests and README; your agent picks the notes that fit and names any dependency in use that you noted to avoid.

What each agent gets

What repomagpie setup sets up in each agent, on Linux, Windows or macOS with Node.js 22.12 or later (agents):

AgentMCPSkillHookWhen a note says to avoid a package
Claude Codeyesyesyesthe hook asks you
Codex CLIyesyesyesthe hook stops the first try; your agent asks you
Cursoryesyesyesthe hook stops the first try; your agent asks you
Gemini CLIyesyesyesthe hook asks you
VS Code (GitHub Copilot)yesyesnono hook; the MCP server and the skill check it
Antigravity CLIyesyesyesthe hook asks you
Copilot CLIyesyesyesthe hook stops the first try; your agent asks you

Codex CLI runs a new hook only after you trust it in /hooks. Other agents with MCP or Agent Skills can use the server or the skill: see setting up by hand. The package has no runtime dependencies, and paths with letters outside ASCII work.

Share notes with your team

A project journal is a .magpie/ folder in the repository, committed with the code. RepoMagpie's hook and recall read it for every contributor, next to each person's own journal.

sh
repomagpie note pdfkit "avoid: async streams painful; use puppeteer" --to projectgit add .magpie && git commit -m "Add our note on pdfkit"

Or copy one of your own notes there: repomagpie adopt pdfkit. When a teammate's agent is about to run npm install pdfkit, the hook asks them first, and their search and suggest find the note too. Anyone who can read the repository can read its notes.

In repomagpie ui, the Project view names the repository and says whether its shared notes are committed and pushed.

[The Project view in repomagpie ui: acme/checkout on github.com and "Shared notes are committed." above the project journal's three notes; zod is open, and says your personal journal has a note on it too]

The local app

repomagpie ui opens your journals in the browser. Search lists your notes before you type, and Import takes a list you paste. Review an inbox note: write the Verdict, set kind, domains, tags and rating, and press Ctrl+Enter.

[The inbox review in repomagpie ui: the Verdict being typed for Understand-Anything, with ai and tooling outlined as suggested domains, and tags to pick below]

Check a package: what your journals say before an install, and what the hook does in each agent.

[Check a package in repomagpie ui: pdfkit's avoid note says the hook asks first or stops the first try, depending on the agent; left-pad has no note, so the hook stays silent]

Suggest for this project: the notes that fit, and why each one is a candidate.

[Suggest in repomagpie ui: microsoft/playwright first, matched on the @playwright/test dependency; pdfkit listed last as in use with an avoid note, with pdf-lib and puppeteer instead]

See a journal as a graph: notes, their tags, [[links]] and alternatives, coloured by domain if you choose. Click a note to read and edit it beside the graph.

[The graph page in repomagpie ui, coloured by domain: 42 notes, 13 tags and 75 connections; the most connected, such as #self-hosting, #ai-agents and #frontend, listed beside it]

How it compares

ToolWhat it knowsWhen you see it
Star managers, such as Starcat and GithubStarsManagerThe repositories you starred, with tags and notesWhen you search them later
Supply-chain scanners, such as Socket Firewall FreeMalware, vulnerabilities and popularity, from global dataBefore an install
RepoMagpieYour verdicts and your team'sBefore an install, when you search, and when you start a project

A line like "avoid pdfkit" in CLAUDE.md covers one project. A RepoMagpie note works across projects, shows up in search, and the hook checks it on every install. It isn't session or conversation memory: it remembers your decisions about tools, which you write. A star list or an awesome list holds no opinion your agent can use; a note does. RepoMagpie isn't a scanner: it never claims to detect malware or vulnerabilities, so run one next to it (vision).

FAQ

Does RepoMagpie send my notes anywhere?

No. Your journals are Markdown files on your machine, and there is no telemetry. The only network requests are read-only calls to GitHub's API, when you add a note from a GitHub repository or search with discover: they send that repository's name or your search, and your GitHub token if there is one (GITHUB_TOKEN, GH_TOKEN or the GitHub CLI's login), never your notes. repomagpie ui listens on 127.0.0.1 only. Your agent's model provider sees the notes your agent reads. See SECURITY.md.

Does RepoMagpie use AI?

Not a model of its own: its commands match names and words, and call no model. The AI is the coding agent you already use, which reads and saves your notes through the skill and the MCP tools. The skill tells it never to write your Verdict for you, never to delete a note you didn't name, and never to install a package you noted to avoid without asking you; a hook checks that last one too.

Does the hook block installs?

Never for good, and it never approves one. When a note says to avoid the package, the hook asks you, or stops the first try so that your agent asks you (the table); after a stop, the same install goes through for 10 minutes. Any other note, or an error in RepoMagpie, never stops an install. See the hook contract.

How do I remove it?

Run repomagpie setup --remove. It takes out only RepoMagpie's own MCP entries, hooks and skill folders, never restores a backup over your later changes, and leaves your journals and setup's backups. With --agents, the shared skill folder stays while another agent still reads it. Then repomagpie setup --delete-backups deletes the backups after asking, and npm uninstall -g repomagpie removes the command.

Can a team agree on rules with it?

Yes. The project journal, .magpie/ in the repository, is committed with the code, and every teammate's agent reads it after git pull. When it and a personal note disagree, the project note wins. Review rule changes in pull requests, and let leads approve them with a CODEOWNERS line. See working as a team.

Where are my notes, and can I edit them by hand?

Each note is one Markdown file with YAML frontmatter, in ~/.magpie/notes/ or a project's .magpie/notes/ (note schema). Edit them in any editor: RepoMagpie reads hand-written notes even with fields or sections missing, and never rewrites your sections. Set MAGPIE_HOME or pass --home to keep your journal elsewhere. repomagpie delete moves a note to the journal's .trash/.

Documentation

Open an issue for bugs and ideas. The project doesn't take pull requests yet (CONTRIBUTING.md). To report a vulnerability, see SECURITY.md.

Licence

MIT © 2026 Yusuf Suat Babacan

来源:README.md,提交 5cd7feb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.1最新Nov 7, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分