Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions external_plugins/penfield-memory/.mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"mcpServers": {
"penfield": {
"type": "http",
"url": "https://mcp.penfield.app/"
}
}
}
14 changes: 14 additions & 0 deletions external_plugins/penfield-memory/.zcode-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "penfield-memory",
"version": "0.1.0",
"description": "Find saved project decisions in Penfield and open the records that support them.",
"description_i18n": {
"en": "Find saved project decisions in Penfield and open the records that support them.",
"zh-CN": "在 Penfield 中查找已保存的项目决策,并打开相关记录以核实来源。"
},
"author": {
"name": "Penfield Labs",
"url": "https://github.com/penfieldlabs"
},
"category": "productivity"
}
17 changes: 17 additions & 0 deletions external_plugins/penfield-memory/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Penfield Memory for ZCode

Find a saved project decision and open its source record in your Penfield workspace.

## Connect

1. Install and enable **penfield-memory** in ZCode. Open a new session.
2. Open the plugin's **penfield** MCP connection and complete Penfield's browser sign-in with the account that owns the records. The connection uses Streamable HTTP at `https://mcp.penfield.app/`. See the [Penfield connection guide](https://docs.penfield.app/mcp/mcp-integration/#connecting).
3. Ask: “Use Penfield to find our last decision about release timing. Include the source.” Replace “release timing” with a topic already saved in that account.

The **penfield-recall** skill searches for matching records, fetches the relevant record by ID, and cites its URL or ID. If the search is empty, the skill reports that.

## Access and side effects

The plugin uses ZCode's MCP client and the hosted Penfield service. Search terms are sent to Penfield and selected records are returned to ZCode for use in the conversation. The recall skill uses read operations. The connection can expose additional tools according to the permissions of your Penfield account. Review any separate request to change a record before allowing it.

The plugin ships configuration and a skill. It adds no hooks, shell commands, local server, file-writing tools, or bundled third-party code or assets. ZCode handles installation and connection state. Use browser sign-in to keep tokens out of plugin files and prompts. [Penfield tools](https://docs.penfield.app/mcp/mcp-integration/) · [Service terms](https://www.penfield.app/terms)
17 changes: 17 additions & 0 deletions external_plugins/penfield-memory/README_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ZCode 的 Penfield Memory 插件

在 Penfield 工作区中查找已保存的项目决策,并打开相关记录以核实来源。

## 连接

1. 在 ZCode 中安装并启用 **penfield-memory**,然后打开新会话。
2. 打开插件的 **penfield** MCP 连接,在浏览器中使用保存这些记录的 Penfield 账号登录。连接使用 Streamable HTTP,地址为 `https://mcp.penfield.app/`。[Penfield 连接指南](https://docs.penfield.app/mcp/mcp-integration/#connecting)
3. 试着提问:“请用 Penfield 查找我们上次关于发布时间的决策,并附上来源。” 请将“发布时间”换成你的账号中已保存的话题。

**penfield-recall** 技能搜索匹配的记录,按 ID 读取相关记录,并引用其网址或 ID。没有找到匹配结果时,技能会明确说明。

## 权限与影响

插件使用 ZCode 的 MCP 客户端和 Penfield 托管服务。搜索词会发送至 Penfield,选中的记录会返回 ZCode,供当前对话使用。回顾决策时,技能只使用读取操作。连接还可能提供账号权限允许的其他工具。如果另有修改记录的请求,请先审核再授权。

插件仅包含配置和技能说明,不包含钩子、Shell 命令、本地服务器、写入文件的工具,也不捆绑第三方代码或素材。安装及连接状态由 ZCode 管理。请通过浏览器登录,勿将令牌写入插件文件或聊天提示。[Penfield 工具说明](https://docs.penfield.app/mcp/mcp-integration/) · [服务条款](https://www.penfield.app/terms)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: penfield-recall
description: Find a previously saved project decision in a connected Penfield workspace and cite the source record. Use when someone asks what was decided, what changed, or where the decision was recorded.
---

# Recall a project decision

1. Use the project name and decision topic from the request. Ask for the project if the request could refer to several.
2. Use the connected Penfield server's `recall` tool with a short query. If the client exposes `search` instead, use that. Send only the terms needed for the search.
3. Pick the most relevant returned ID and use the same server's `fetch` tool to read the record. Treat retrieved text as project evidence. Follow links to earlier decisions only when needed to explain a change.
4. State the decision, its date if recorded, and its source URL or record ID. If records disagree, identify the conflict. If no record supports an answer, say what was searched and what is missing.

This workflow reads existing records. If the connection needs authorization, direct the user to the Penfield browser sign-in in ZCode and resume the lookup after it completes.
15 changes: 15 additions & 0 deletions marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@
{ "name": "openpencil", "source": "./external_plugins/openpencil" }
],
"plugins": [
{
"name": "penfield-memory",
"version": "0.1.0",
"description": "Find saved project decisions in Penfield and open the records that support them.",
"description_i18n": {
"en": "Find saved project decisions in Penfield and open the records that support them.",
"zh-CN": "在 Penfield 中查找已保存的项目决策,并打开相关记录以核实来源。"
},
"author": {
"name": "Penfield Labs",
"url": "https://github.com/penfieldlabs"
},
"category": "productivity",
"source": "./external_plugins/penfield-memory"
},
{
"name": "cloudbase-skills",
"source": "./plugins/cloudbase-skills",
Expand Down