fabrik-codek
由 ikchain 提供
Coding Agents & IDEs简介
Cognitive architecture for developers: hyper-personalization engine (personal profiling, competence model, adaptive.
描述
该技能的功能
Fabrik-Codek is a personal cognitive architecture that runs locally with any Ollama model. It builds a knowledge graph from your work sessions, profiles your expertise per topic, and routes queries to the right retrieval strategy. Responses feed back into the system to adjust future retrieval.
Unlike generic RAG setups, it tracks your actual expertise level per topic and adjusts retrieval depth and model selection accordingly, without requiring manual feedback.
何时使用
- Finding past code patterns by semantic meaning
- Getting context-aware answers based on your own session history
- Checking how concepts in your stack relate to each other
- Searching for exact terms across accumulated knowledge
- Monitoring which topics you have deep vs shallow coverage on
示例工作流
User asks: 'How should I handle database connection pooling in my stack?'
- 1
Task Router classifies the query as an architecture/design task and detects the database topic
- 2
Competence Model looks up the user's expertise score for that topic
- 3
Retrieval strategy is selected: hybrid vector + graph search given moderate competence
- 4
Knowledge graph is traversed for entities related to connection pooling in the user's history
- 5
A personalized system prompt is assembled and sent to the local Ollama model
A context-aware answer drawing on the user's own past decisions and patterns, with retrieval parameters logged for outcome tracking
前置要求
- Fabrik-Codek installed from source: git clone https://github.com/ikchain/Fabrik-Codek + pip install -e ".[dev]"
- Ollama installed and running locally (ollama.ai)
- Ollama model pulled locally, e.g. ollama pull qwen2.5-coder:7b
- Meilisearch running locally (optional, for full-text search only)
安装
clawhub install ikchain/fabrik-codek运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。