← Back to Skills Marketplace
chircken891

Method Repository

by chircken891 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
94
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install method-repository
Description
将论文分析中提取的流行病学研究设计和统计方法存入本地知识库数据库,支持去重。当用户说"存入数据库"、"保存到知识库"、"记一下这个方法"时激活。
Usage Guidance
这个技能在意图上是合理的(把论文方法存入本地 SQLite 并去重),但请在安装/使用前注意并采取以下措施: - 路径确认:SKILL.md 使用了硬编码的 Windows 路径 D:\autoclaw\结果\医学研究方法库\methods.db。确认你愿意在该位置创建/写入文件,或要求修改为更通用/可配置的路径(例如用户主目录下的子目录)。 - 写操作确认:技能会自动创建并写入数据库。若你不希望自动写入,要求在触发写入前进行明确确认提示。 - 修复 SQL/参数化问题:示例 SELECT 语句显示 WHERE ... = '?'(带引号),这会导致查重失败或不按参数化执行。确保实际实现使用正确的参数化查询(例如不在 SQL 中把占位符放在引号内),并加上事务/异常处理以避免数据损坏。不要使用字符串拼接执行 SQL。 - 权威来源与网络访问:SKILL.md 要求“权威来源的定义”,但没有说明如何获得它们。确认由谁提供这些来源(用户、会话上下文、或允许技能访问网络去检索引用)。如果实现会自动联网抓取,请评估网络访问范围并获取同意。 - 敏感数据与隐私:如果会话包含尚未公开或敏感的研究数据/注释,技能会将其持久化到本地文件。确认这符合你的隐私/合规要求,并考虑加密或访问控制。 - 测试与回滚:在向正式数据库写入前,先在测试数据库上试运行样例,确认去重和插入行为符合预期,并备份现有数据以便回滚。 基于上述问题(尤其是硬编码路径和示例 SQL 的不一致),我将评估定为“suspicious(可疑)”。这些看起来更像是实现上的疏忽而非恶意,但在允许其写入本地文件前应要求修正/确认这些细节。
Capability Analysis
Type: OpenClaw Skill Name: method-repository Version: 1.0.0 The skill bundle 'method-repository' is designed to manage a local SQLite database for storing epidemiological research designs and statistical methods extracted from academic papers. It uses standard SQL operations with parameter placeholders to prevent injection and operates on a specific local file path (D:\autoclaw\...) without any evidence of data exfiltration, malicious execution, or unauthorized access. The instructions in SKILL.md are clearly aligned with its stated purpose of knowledge management.
Capability Assessment
Purpose & Capability
技能声明是把论文中提取的研究设计/统计方法/概念存入本地 SQLite 数据库;SKILL.md 只要求读会话上下文并写入本地 DB,没有请求任何与此目的不相称的权限或外部凭据,整体目的与能力对齐。
Instruction Scope
说明明确指导从会话上下文抽取条目、去重并写入本地 SQLite。需要注意的几点:1) 数据库路径是硬编码的绝对 Windows 路径 (D:\autoclaw\结果\医学研究方法库\methods.db),会在用户机器上创建/写入文件;2) 去重 SELECT 语句示例写成 WHERE method_name = '?'(带引号的 '?'),可能导致错误的匹配或没有按预期参数化查询;而 Python 插入示例使用参数化占位符但没有显示事务/提交或异常处理;3) 字段要求“权威来源的定义”,但未说明如何检索或验证这些权威来源(需要网络抓取或用户提供),这会导致作用域外的隐式行为。
Install Mechanism
这是 instruction-only 技能,没有 install 规范或外部下载风险;静态扫描也没有代码文件可分析,因此没有安装层面的高风险操作。
Credentials
技能不请求任何环境变量、凭据或外部服务访问,所需权限只是在本地创建/写入一个 SQLite 数据库文件,这与技能目的相称。但仍应确认目标路径是否合适以及是否会写入敏感位置。
Persistence & Privilege
技能不会设置 always:true,也不要求提升平台权限;但它会在硬编码位置创建并持久化一个数据库文件。用户应意识到技能会在本地持久保存数据,并审查文件路径、访问控制和是否希望技能自动写入而不额外提示。
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install method-repository
  3. After installation, invoke the skill by name or use /method-repository
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with structured local repository for epidemiological methods and designs. - Supports saving study designs, statistical methods, concepts, and table layouts into a local SQLite knowledge base. - Duplicate prevention via unique constraints and insertion checks. - Triggered by user commands such as "存入数据库", "保存到知识库", or "记一下这个方法". - Parses session context to extract relevant field information; prompts user to supplement missing data. - Automatically generates a summary report after each save operation. - Detailed schema provided for all database tables to ensure clear and consistent data storage.
Metadata
Slug method-repository
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Method Repository?

将论文分析中提取的流行病学研究设计和统计方法存入本地知识库数据库,支持去重。当用户说"存入数据库"、"保存到知识库"、"记一下这个方法"时激活。 It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.

How do I install Method Repository?

Run "/install method-repository" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Method Repository free?

Yes, Method Repository is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Method Repository support?

Method Repository is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Method Repository?

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

💬 Comments