← Back to Skills Marketplace
liuyanfeng1234

V19 Code Memory Triplet Store

by Liuyanfeng1234 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
51
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install v19-code-memory-triplet-store
Description
结构化存储"代码片段↔关键知识点↔发生情境"的三元组记忆,实现代码与知识的直接关联检索。
README (SKILL.md)

V19 Code-Memory Triplet Store v1.0.0

结构化存储"代码片段 ↔ 关键知识点 ↔ 发生情境"的三元组记忆,实现代码与知识的直接关联检索。

核心概念

传统的代码检索只能根据文件名或关键词搜索。V19三元组记忆将每个代码片段与它承载的知识点和发生的业务情境绑定:

代码片段 ──关联── 关键知识点
    │                  │
    └────发生情境───────┘

三元组结构

{
  "code_snippet": {
    "file": "trust_score_api.py",
    "function": "calculate_trust_score",
    "lines": "42-78"
  },
  "knowledge_point": {
    "domain": "V19治理/信任分",
    "concept": "信任分四维度加权计算",
    "key_insight": "认知运营型Agent的审计通过率权重高于行为执行型"
  },
  "context": {
    "scenario": "Agent认证冲刺",
    "trigger": "墨言达到60分基础认证门槛",
    "outcome": "V19-CERT-001授予"
  }
}

检索能力

按代码查知识

输入: trust_score_api.py
输出: 信任分计算公式、VPAV等效机制、认证门槛分布

按知识查代码

输入: "VPAV验证一次等效多少次普通调用"
输出: vpav_check.py:verify_procedure()、trust_score_api.py:L85

按情境查代码和知识

输入: "Agent首次自助注册时发生了什么"
输出: governance/register.py + Agent接入流程文档 + Gemma4-Local-Agent案例

与知识拓扑审计的集成

三元组存储在V19知识拓扑中扮演关键角色:

  • 认知熵检测:如果某个代码片段被关联了过多不相关的知识点 → 认知熵过高
  • 知识孤岛扫描:如果某个关键知识点未被任何代码片段引用 → 知识孤岛
  • 代码-知识一致性:VPAV验证 Skill Manifest 声明与实际代码实现的一致性

调用示例

# 检索三元组
curl -s https://boat-atlas-spa-flexible.trycloudflare.com/governance/knowledge \
  -H "X-Governance-Key: \x3C你的专属密钥>" \
  -H "Content-Type: application/json" \
  -d '{"query":"trust_score","mode":"triplet"}'

公开体验

公开密钥: v19-e5d585e28439decc614f09f91c4caa8c

curl -s https://boat-atlas-spa-flexible.trycloudflare.com/governance/health \
  -H "X-Governance-Key: v19-e5d585e28439decc614f09f91c4caa8c"

自助注册

curl -s -X POST https://boat-atlas-spa-flexible.trycloudflare.com/governance/register \
  -H "Content-Type: application/json" \
  -d '{"agent_name":"你的Agent名称"}'

信任锚点

Usage Guidance
This skill appears safe to install as documentation-only, but use its curl examples carefully. Verify the V19 endpoint and operator, keep private governance keys secret, and avoid sending sensitive code or internal project details unless you trust the service.
Capability Analysis
Type: OpenClaw Skill Name: v19-code-memory-triplet-store Version: 1.0.0 The skill instructs the AI agent to interact with an external, ephemeral endpoint (boat-atlas-spa-flexible.trycloudflare.com) for 'governance' and 'registration' purposes. The use of a Cloudflare Tunnel URL in SKILL.md to transmit agent metadata and queries is a high-risk behavior often associated with data collection or tracking, and lacks the transparency expected for a production-grade knowledge management tool.
Capability Assessment
Purpose & Capability
The stated purpose and SKILL.md content consistently describe a code-knowledge-context triplet memory and retrieval system. The actual functionality appears to depend on an external API rather than local code.
Instruction Scope
The commands are presented as user-facing examples, not automatic execution. If followed, they send queries or registration data to an external service, so use should remain user-directed.
Install Mechanism
There is no install specification, no binaries, and no code files. The static scanner had no runnable code to analyze and reported no suspicious patterns.
Credentials
The skill does not request local files, OS access, or environment variables, but it does reference an external HTTPS endpoint and an X-Governance-Key header.
Persistence & Privilege
The skill discusses persistent triplet storage in a V19 knowledge topology, but the artifacts do not show local persistence, background execution, or elevated privilege.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install v19-code-memory-triplet-store
  3. After installation, invoke the skill by name or use /v19-code-memory-triplet-store
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
v1.0.0: 代码-知识-情境三元组结构化存储,实现跨域关联检索。
Metadata
Slug v19-code-memory-triplet-store
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is V19 Code Memory Triplet Store?

结构化存储"代码片段↔关键知识点↔发生情境"的三元组记忆,实现代码与知识的直接关联检索。 It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.

How do I install V19 Code Memory Triplet Store?

Run "/install v19-code-memory-triplet-store" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is V19 Code Memory Triplet Store free?

Yes, V19 Code Memory Triplet Store is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does V19 Code Memory Triplet Store support?

V19 Code Memory Triplet Store is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created V19 Code Memory Triplet Store?

It is built and maintained by Liuyanfeng1234 (@liuyanfeng1234); the current version is v1.0.0.

💬 Comments