Token导航 LogoToken导航

Agent Skill · 研究检索

fabrik-codek(法布里克代码)

fabrik-codek 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

fabrik-codek 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为调用外部服务;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 5,506。

总安装 25,661周安装 1,080GitHub Stars 公开资料未说明下载 8,986核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.10.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fabrik-codek(法布里克代码)
来源仓库:https://github.com/ikchain/fabrik-codek
安装命令:
openclaw skills install fabrik-codek
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install fabrik-codek

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于构建个人认知架构和知识图谱。fabrik-codek 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合分析专业领域和调整检索策略。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。根据会话动态优化信息组织和任务适配。使用时需注意知识更新延迟和准确性边界。

安装前建议确认维护状态和是否会触发数据存储。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install fabrik-codek;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

fabrik-codek 怎么安装?

在终端执行 openclaw skills install fabrik-codek。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

fabrik-codek 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

fabrik-codek 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

fabrik-codek 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

fabrik-codek 用的人多吗?

公开数据是累计安装 25,661 次,近一周安装 1,080 次,下载 8,986 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

fabrik-codek 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
fabrik-codek

法布里克代码 · 本页

25,661—调用外部服务MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
fabrik-codek
description
Personal cognitive architecture that learns how you work. Builds a knowledge graph from your sessions, profiles your expertise, adapts retrieval per task, and self-corrects via outcome feedback. Three-tier hybrid RAG (vector + graph + full-text). Runs locally with any Ollama model — no outbound network calls from Fabrik-Codek itself.
version
1.10.0
homepage
https://github.com/ikchain/Fabrik-Codek
user-invocable
true
metadata
clawdbot
requires
bins
[fabrik]
anyBins
[python3, python]
homepage
https://github.com/ikchain/Fabrik-Codek
os
[macos, linux]
emoji
🧠
configPaths

Fabrik-Codek

A 7B model that knows you is worth more than a 400B that doesn't.

Fabrik-Codek is a personal cognitive architecture that runs locally with any Ollama model. It doesn't just retrieve documents — it builds a knowledge graph from how you work, measures your expertise per topic, routes tasks to the right model with the right retrieval strategy, observes whether its responses actually helped, and refines itself over time.

How It Works

  1. You work — Fabrik-Codek captures code changes, session transcripts, decisions, and learnings in a local datalake
  2. Knowledge extraction — An 11-step pipeline extracts entities and relationships into a knowledge graph alongside a vector DB
  3. Personal profiling — Analyzes your datalake to learn your domain, stack, patterns, and tooling preferences
  4. Competence scoring — Measures how deep your knowledge is per topic (Expert / Competent / Novice / Unknown)
  5. Adaptive routing — Classifies each query by task type and topic, selects the right model, adapts retrieval depth, and builds a 3-layer system prompt
  6. Outcome tracking — Infers whether responses were useful from conversational patterns (zero friction, no manual feedback)
  7. Self-correction — Adjusts retrieval parameters for underperforming task/topic combinations

Every interaction feeds back into the system. Fabrik-Codek itself makes zero outbound network requests — it only connects to Ollama and optionally Meilisearch on localhost. Model downloads are handled by Ollama's own CLI (ollama pull), not by Fabrik-Codek.

Setup

Configure as an MCP server in your openclaw.json or ~/.claude/settings.json:

{
  "mcpServers": {
    "fabrik-codek": {
      "command": "fabrik",
      "args": ["mcp"]
    }
  }
}

For network access (SSE transport):

{
  "mcpServers": {
    "fabrik-codek": {
      "command": "fabrik",
      "args": ["mcp", "--transport", "sse", "--port", "8421"]
    }
  }
}

First Run

After installing, initialize and build the knowledge base:

fabrik init                              # Set up config, download models
fabrik graph build --include-transcripts  # Build knowledge graph from sessions
fabrik rag index                         # Index datalake into vector DB
fabrik profile build                     # Build your personal profile
fabrik competence build                  # Build competence map

Available MCP Tools

fabrik_ask

Ask a question to the local LLM with optional context from the knowledge base. The Task Router automatically classifies your query, selects the right model based on your competence, adapts retrieval strategy, and builds a personalized system prompt.

  • use_rag=true — vector search context
  • use_graph=true — hybrid context (vector + graph + full-text)

Example: *"How should I handle database connection pooling?"*

fabrik_search

Semantic vector search across your accumulated knowledge. Returns the most relevant documents, patterns, and examples by meaning — not just keywords.

Example: *"Find examples of retry logic with exponential backoff"*

fabrik_graph_search

Traverse the knowledge graph to find entities (technologies, patterns, strategies) and their relationships. Useful for understanding how concepts connect in your experience.

  • depth — how many hops to traverse (default: 2)

Example: *"What technologies are related to FastAPI in my knowledge graph?"*

fabrik_fulltext_search

Full-text keyword search via Meilisearch. Use this for exact keyword or phrase matching when you know the specific terms. Optional — the system works without Meilisearch installed.

Example: *"Search for 'EXPLAIN ANALYZE' in my knowledge base"*

fabrik_graph_stats

Knowledge graph statistics: entity count, edge count, connected components, type breakdown, and relation types.

fabrik_status

System health check: Ollama availability, RAG engine, knowledge graph, full-text search, and datalake status.

Available MCP Resources

URIDescription
fabrik://statusSystem component status
fabrik://graph/statsKnowledge graph statistics
fabrik://configCurrent configuration (sanitized)

When to Use Each Tool

ScenarioToolWhy
Coding question needing contextfabrik_ask with use_graph=trueGets hybrid retrieval + personalized prompt
Find similar patterns or examplesfabrik_searchSemantic similarity across all knowledge
Understand how concepts relatefabrik_graph_searchGraph traversal shows entity relationships
Find exact terms or phrasesfabrik_fulltext_searchBM25 keyword matching
Check if knowledge base is healthyfabrik_statusComponent health check
Understand knowledge distributionfabrik_graph_statsEntity/edge counts and types

The Cognitive Loop

The system gets smarter the more you use it:

You work → Flywheel captures it → Pipeline extracts knowledge
    ↑                                        ↓
Strategy Optimizer ← Outcome Tracker ← LLM responds with context
    ↓                                        ↑
    └──── adjusts retrieval ──→ Task Router ─┘
                                    ↓
                  Profile + Competence + task-specific prompt
  • Personal Profile learns your domain, stack, and preferences from your datalake
  • Competence Model scores expertise per topic using 4 signals (entry count, graph density, recency, outcome rate)
  • Task Router classifies queries into 7 task types, detects topic, selects model, adapts retrieval
  • Outcome Tracker infers response quality from conversational patterns (topic change = accepted, reformulation = rejected)
  • Strategy Optimizer adjusts retrieval parameters for weak spots
  • Graph Temporal Decay fades stale knowledge, reinforces recent activity
  • Semantic Drift Detection alerts when an entity's context shifts between graph builds
  • Context Gate decides whether to inject RAG context at all (skips for generic queries where context would be noise)
  • Relevance Filter drops retrieved chunks with low query-text token overlap, preventing domain-specific knowledge from contaminating generic answers

Requirements

  • Fabrik-Codek installed from source (git clone + pip install -e ".[dev]")
  • Ollama running locally with any model (e.g., ollama pull qwen2.5-coder:7b)
  • Optional: Meilisearch for full-text search (system works without it)

Note on installation: Fabrik-Codek is an instruction-only skill — there is no automated installer. You install it manually from the GitHub repository via git clone + pip install -e ".[dev]". This lets you audit the full source code before installing. The skill itself contains documentation and MCP server configuration, not executable code.

Security & Privacy

No external network calls

Fabrik-Codek makes zero outbound network requests. It connects only to services running on your own machine:

  • Ollama at localhost:11434 — your locally running LLM server (for inference and embeddings)
  • Meilisearch at localhost:7700 (optional) — your locally running search engine

No telemetry, no analytics, no phone-home. Verify in the source: grep -r "requests\.\|httpx\.\|urllib" src/ — all HTTP calls target localhost only. The only network activity that occurs during setup is ollama pull, which is Ollama's own CLI downloading models from ollama.ai/library — Fabrik-Codek does not initiate or control these downloads.

What fabrik init does

fabrik init performs these local-only operations:

  1. Checks Python version (>= 3.11)
  2. Detects if Ollama is running at localhost:11434
  3. Creates a .env config file in the current directory
  4. Creates local data directories (./data/embeddings/, ./data/graphdb/, ./data/profile/)
  5. Pulls Ollama models via ollama pull — models are downloaded by Ollama itself from ollama.ai/library, not by Fabrik-Codek

Fabrik-Codek does not download any files from any server. Model downloads are handled entirely by Ollama's own CLI.

Data access scope

Reads (all local, all opt-in, never automatic):

PathWhatWhenWhy
~/.claude/projects/*/Session transcript JSONL files (already on disk from Claude Code)Only when you explicitly run fabrik learn process or fabrik graph build --include-transcriptsExtracts entities and reasoning patterns to build the knowledge graph. This path is NOT in configPaths because Fabrik-Codek does not write to it — it is read-only and user-initiated.
./data/ or FABRIK_DATALAKE_PATHYour datalake (training pairs, captures, metadata)During graph build, rag index, profile build, competence buildSource data for building the knowledge base and personal profile

Writes (all local):

PathWhat
./data/embeddings/LanceDB vector index
./data/graphdb/NetworkX knowledge graph (JSON)
./data/profile/Personal profile, competence map, strategy overrides (JSON)
./data/01-raw/outcomes/Outcome tracking records (JSONL)

All paths are declared in the skill metadata configPaths. The skill never writes outside these directories.

Network transport

  • Default: stdio — no network listener, no ports opened, no exposure
  • Optional: sse — starts an HTTP server bound to 127.0.0.1:8421 by default (localhost only, not reachable from other machines)
  • If you change the SSE bind address to 0.0.0.0, your indexed data would be accessible over the network. Do not do this without proper firewall/ACL rules

Session transcript privacy

The fabrik learn command reads Claude Code session transcripts, which may contain sensitive data (code, credentials, conversation history). This command is opt-in — you must run it manually. It does not run in the background or on a schedule unless you explicitly configure fabrik learn watch. Review what's in your ~/.claude/projects/ before indexing.

Source verification

Fully open source at github.com/ikchain/Fabrik-Codek (MIT license). Clone the repo and audit before installing.

平台分布

OpenClaw

83.34%
按下载量换算7,489

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills