forgetful-encode-repo

Encode a repository into the Forgetful knowledge base via MCP client tools.

290|25|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/ScottRBK/forgetful --skill forgetful-encode-repo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forgetful-encode-repo
Source: https://github.com/ScottRBK/forgetful/tree/main/skills/forgetful-encode-repo
Command: npx skills add https://github.com/ScottRBK/forgetful --skill forgetful-encode-repo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mcp__forgetful__discover_forgetful_tools, mcp__forgetful__how_to_use_forgetful_tool, mcp__forgetful__execute_forgetful_tool, Bash, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of encoding a repository into the Forgetful knowledge base, ensuring that project entities, memories, and documents are bootstrapped or refreshed from the codebase itself.

Core Features & Use Cases

  • Bootstrap Repositories: Initialize a new project in the Forgetful knowledge base.
  • Refresh Encodings: Update existing projects by re-encoding them, ensuring that changes in the codebase are reflected.
  • Atomic Memories: Store decisions, conventions, and patterns as atomic memories, linked to their respective documents.
  • Provenance Tracking: Maintain a record of the source code and files for each piece of knowledge.

Quick Start

Encode the 'my-repo' repository into the Forgetful knowledge base by running the command: forgetful call create_project --args '{"name": "my-repo"}' --json.

Frequently Asked Questions about forgetful-encode-repo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I encode a repository into a knowledge base for AI agent integration?

Encoding a repository into a knowledge base involves bootstrapping project entities, memories, and documents directly from the codebase. This process requires MCP client tools and Bash to automate the extraction and structuring of codebase knowledge for AI agents.

What is repository encoding for shared AI memory?

Repository encoding is the process of storing decisions, conventions, and patterns as atomic memories linked to their source documents. It maintains provenance tracking to record the originating source code for each piece of knowledge extracted from the codebase.

How do I refresh an existing project knowledge base after codebase changes?

You can refresh an existing project knowledge base by re-encoding the repository. This updates the existing entities and atomic memories to ensure that all recent changes in the codebase are accurately reflected in the shared knowledge base.

Do I need MCP client tools to bootstrap a codebase knowledge base?

Yes, you need MCP client tools to execute the repository encoding process. The Skill relies on specific MCP dependencies for discovering, learning, and executing tools, alongside Bash for scripting, to successfully build the knowledge base.

What's the best way to track codebase provenance for AI agents?

The best way to track codebase provenance is by encoding the repository into a knowledge base that maintains a record of the source code and files for each extracted piece of knowledge. This links atomic memories directly to their respective documents.