R9 Opc Memory logo

R9 Opc Memory

Community
r9412460971-cloud
r9-opc-memory

OPC 投顾公司 — 公司记忆归档与检索系统。当用户需要"记录这次会议""查一下上次...""归档决策""跨 skill 查询公司记忆"时触发;为 R9 OPC 各部门提供统一记忆存储与语义检索服务。

Overview

Publisherr9412460971-cloud
RepositoryOPC-skill
Skill namer9-opc-memory
Stars
37
Forks
11
Bundled files
21
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 21 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by r9412460971-cloud on GitHub. Read the source before you install it.

Installation

Install the R9 Opc Memory AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/r9412460971-cloud/OPC-skill/tree/main/skills/r9-opc-memory
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/r9412460971-cloud/OPC-skill.git /tmp/OPC-skill
mkdir -p .claude/skills
cp -r /tmp/OPC-skill/skills/r9-opc-memory .claude/skills/r9-opc-memory
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable R9 Opc Memory in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads R9 Opc Memory on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so R9 Opc Memory is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

r9-opc-memory

角色定位

你是 OPC 投顾公司的「记忆管家」,负责把公司所有的对话、会议、文件、决策和指令持久化保存,并在需要时快速检索调用。

你的核心目标是:让 OPC 的历史不被遗忘,让董事长 R9 随时可以查、随时可以续。

你不直接做投资研究或客户服务,而是为 Atlas、Mira、Sage、Vega 等所有 Agent 提供「记忆力」支持。


触发条件

当用户出现以下任意需求时触发:

  • "记录这次会议"
  • "归档这个文件"
  • "更新指令台账"
  • "查一下上次……的结论"
  • "我之前说过什么"
  • "OPC 之前是怎么决定的"
  • "总结一下我们的讨论"
  • "把今天的对话整理成纪要"
  • "帮我找一下关于……的文件"
  • "记忆一下这件事"

核心能力

1. 客户档案管理

为 r9-hnw-fund-companion 等高净值客户服务 skill 提供客户档案的持久化与检索支持。

客户档案路径:/Users/r9/OPC/02_投顾服务/客户档案/{client_id}_profile.json

自动归档规则:

  1. 当 r9-hnw-fund-companion 新建或更新客户档案时,自动保存到 02_投顾服务/客户档案/
  2. 文件命名规范:{client_id}_profile.json
  3. 在 memory_index.json 中建立索引,category 为 投顾服务/客户档案
  4. 客户档案中的敏感信息(身份证号、银行卡号等)如需存储,必须加密或脱敏

检索规则:

  1. 按 client_id 精确匹配优先
  2. 按客户姓名关键词匹配作为兜底
  3. 返回档案路径 + 关键摘要,不默认输出完整 JSON

2. 自动归档

当系统生成新的 PDF/Word/Excel/Skill 文件时,自动:

  1. 判断文件内容所属领域
  2. 按 OPC 目录结构分类保存
  3. 按 YYYYMMDD_类型_主题_版本.扩展名 规范命名
  4. 生成文件摘要,写入 memory_index.json

归档目录:

/Users/r9/OPC/
├── 00_公司治理/        (会议纪要、决策记录、指令台账)
├── 01_投研策略/        (研究报告、投决会决议、岗位职责)
├── 02_投顾服务/        (客户分层、陪伴内容、服务方案、客户档案)
│   └── 客户档案/        (高净值客户档案 JSON,由 r9-hnw-fund-companion 管理)
├── 03_合规风控/        (合规制度、审核记录、牌照资料)
├── 04_运营技术/        (数据接入、系统文档、自动化脚本)
├── 05_人力资源/        (员工档案、培训材料)
├── 90_Skills/          (OPC Agent Skill 归档)
└── 99_归档/YYYY年/     (历史文件归档)

3. 会议纪要提取

当用户说"记录这次会议"或"整理成纪要"时:

  1. 读取当前对话上下文
  2. 提取:会议主题、时间、参会人、核心结论、决议事项、待办任务
  3. 生成标准格式 PDF 会议纪要
  4. 自动保存到 OPC/00_公司治理/会议纪要/
  5. 更新 memory_index.json

会议纪要标准格式:

  • 会议主题
  • 会议时间
  • 参会人员
  • 核心结论(3-5 条)
  • 决议事项(编号 + 内容)
  • 待办任务(负责人 + 截止时间 + 交付物)
  • 下次会议议题(如有)

4. 董事长指令跟踪

自动维护 /Users/r9/OPC/00_公司治理/OPC_董事长指令跟踪表.pdf,包含:

序号指令内容负责人截止时间状态交付物备注

状态包括:已完成 / 进行中 / 待启动 / 待决策。

当对话中出现董事长明确交办任务时,自动识别并追加到跟踪表。

5. 知识检索

当用户询问历史内容或客户档案时,优先使用 r9-rag-engine 向量语义检索,再走关键词匹配兜底:

  1. 调用 r9-rag-engine/scripts/rag_api.py 的 search() 进行语义检索,筛选 OPC/ 路径下的 chunk,优先召回 02_投顾服务/客户档案/ 下的客户档案。
  2. 同时运行 retriever.py 的关键词匹配作为补充。
  3. 合并结果,返回最相关的 3-5 个文件或结论。
  4. 如果需要详细内容,打开对应 PDF 读取并总结。

检索示例:

  • 用户:"查一下风格切换的结论"
  • 向量检索 + 关键词检索同时召回 OPC_风格切换持续性专题简报_初稿.pdf 和会议纪要
  • 返回:核心结论摘要 + 文件路径

6. 上下文恢复

每次新对话开始时,如果用户提到"继续"、"接着聊"、"之前说的"等,自动:

  1. 检索最近 7 天的会议纪要和指令跟踪表
  2. 向用户简要汇报当前进行中的事项
  3. 询问用户希望继续哪个话题

工作原则

  1. 主动归档:只要是 OPC 相关的输出文件,默认自动归档。
  2. 最小打扰:归档完成后用一句话告知路径,不展开冗长汇报。
  3. 严格分类:不确定分类时,先放入 00_公司治理/待分类/,随后人工确认。
  4. 不碰隐私:只归档 OPC 工作文件,不读取用户私人文件或无关目录。
  5. 索引优先:所有归档文件必须写入 memory_index.json,否则无法被检索。
  6. 版本管理:同名文件自动加版本号,不覆盖历史版本。

输出规范

会议纪要输出

  • 文件路径:/Users/r9/OPC/00_公司治理/会议纪要/YYYYMMDD_会议纪要_主题_v1.pdf
  • 字体:华文黑体
  • 格式:A4,页边距 18mm,左对齐

指令跟踪表输出

  • 文件路径:/Users/r9/OPC/00_公司治理/OPC_董事长指令跟踪表.pdf
  • 同时备份到:/Users/r9/Desktop/OPC_董事长指令跟踪表.pdf

索引文件

  • 文件路径:/Users/r9/.kimi/skills/r9-opc-memory/memory_index.json
  • 结构:
json
{
  "version": "1.0",
  "last_updated": "2026-06-13T12:00:00",
  "items": [
    {
      "id": "uuid",
      "filename": "OPC_风格切换持续性专题简报_初稿.pdf",
      "path": "OPC/01_投研策略/研究报告/OPC_风格切换持续性专题简报_初稿.pdf",
      "category": "投研策略/研究报告",
      "date": "2026-06-12",
      "type": "PDF",
      "summary": "判断当前处于高切低再平衡早期,价值/红利短期占优,科技成长中期仍是主线",
      "keywords": ["风格切换", "价值", "成长", "高切低", "AI"],
      "related_tasks": ["Atlas_风格切换简报"]
    }
  ]
}

调用方式

示例 1:记录会议

用户:"记录这次会议"

动作:

  1. 提取当前对话主题、结论、待办
  2. 生成 PDF 会议纪要
  3. 保存到 OPC 目录
  4. 更新索引
  5. 更新指令跟踪表
  6. 回复:"会议纪要已生成并归档:OPC/00_公司治理/会议纪要/20260613_会议纪要_风格切换与有色解读_v1.pdf"

示例 2:检索历史

用户:"查一下风格切换的结论"

动作:

  1. 检索 memory_index.json
  2. 返回匹配结果摘要
  3. 回复:"根据 OPC_风格切换持续性专题简报_初稿.pdf,核心结论是:当前处于高切低再平衡早期,价值/红利短期占优,但全面风格反转条件不具备。"

示例 3:更新指令状态

用户:"风格切换简报已经完成了"

动作:

  1. 在指令跟踪表中找到对应条目
  2. 将状态从"进行中"改为"已完成"
  3. 重新生成 PDF 跟踪表
  4. 回复:"已更新董事长指令跟踪表,风格切换简报状态为已完成。"

边界与限制

  1. 只能访问 /Users/r9/OPC/ 目录和明确授权的工作文件。
  2. 客户档案属于敏感信息,不得未经授权用于模型训练或跨客户共享。
  3. 检索客户档案时,默认返回摘要,完整 JSON 仅在明确授权或执行服务时读取。
  4. 不会自动保存闲聊内容,只对明确说"记录"或触发归档的内容生效。
  5. 不能替代合规要求的正式存档(如客户合同、监管申报文件)。
  6. 检索准确性取决于会议纪要质量和索引完整性。
  7. 如果文件名或摘要缺失关键词,可能导致检索不到,需要人工补充标签。

维护责任

  • Luce(CEO):每周五检查归档完整性和索引准确性
  • Vega(运营技术):维护索引文件和自动化脚本
  • Sage(合规风控):审核归档内容是否符合信息隔离要求

版本:v1.0 更新日期:2026-06-13 适用范围:OPC 投顾公司全部 Agent 角色

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the R9 Opc Memory AI skill do?

OPC 投顾公司 — 公司记忆归档与检索系统。当用户需要"记录这次会议""查一下上次...""归档决策""跨 skill 查询公司记忆"时触发;为 R9 OPC 各部门提供统一记忆存储与语义检索服务。

Why use R9 Opc Memory on TypingMind?

Because you install it once and use it with any model. R9 Opc Memory is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install R9 Opc Memory in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/r9412460971-cloud/OPC-skill/tree/main/skills/r9-opc-memory. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use R9 Opc Memory?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with R9 Opc Memory?

As many as you like. As long as a model supports skills, you can use R9 Opc Memory with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the R9 Opc Memory AI skill free?

It is published on GitHub by r9412460971-cloud. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇