skillport
AGENTS.md419 starsChanged 11 months agoMITView on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Task tracking: Use checkbox lists (- [ ]/- [x]).
- Very specific: line 6
Safe defaults: Default EMBEDDING_PROVIDER=none.
- Very specific: line 7
Normalization: Always trim+lowercase category/tags for indexing, filtering, and search.
- Distinctive: line 10
Behavioral regression tests (golden traces): Not required now; add for critical flows when ready.
- Distinctive: line 11
Refactoring style: Prefer function-based design with dict dispatch over class-based Strategy/ABC patterns.
- Very specific: line 51
Always run this after modifying server.py, db/, or config.py.
- Very specific: line 56
ALWAYS: use sys.stderr for logs/prints.
- Very specific: line 57
Logs: If verify_server.py fails, check the stderr output captured in the tool result.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Guidelines & Context
1. Core Principles (10-second recall)
- PLAN.md: SSOT for「どう作るか」(how to build); keep tasks in
docs/latest/PLAN.md, update continuously, snapshot at release. - Task tracking: Use checkbox lists (
- [ ]/- [x]); include Task ID for larger work. - Safe defaults: Default
EMBEDDING_PROVIDER=none; when enabling external providers, fail fast on missing keys. - Normalization: Always trim+lowercase
category/tagsfor indexing, filtering, and search. - Fallback chain: Preserve vector → FTS → substring fallback; never break the chain.
- MCP logging: stdout is JSON-RPC only; send all logs/debug to stderr.
- Behavioral regression tests (golden traces): Not required now; add for critical flows when ready.
- Refactoring style: Prefer function-based design with dict dispatch over class-based Strategy/ABC patterns. Keep helpers small; share common logic via helper functions, not inheritance.
- Docs governance: See
docs/AGENTS.mdfor layout/roles;docs/steering/OPERATING_MODEL.mdfor doc/release ops;docs/steering/ENGINEERING_GUIDE.mdfor technical policy;docs/steering/RUNBOOK.mdfor operational steps.
2. Project Context
Architecture
- Brand: SkillPort
- Packages:
skillport(CLI),skillport-mcp(MCP server),skillport-core(shared lib) - Type: CLI + MCP Server (Model Context Protocol)
- Stack:
- Runtime: Python 3.10+
- Package Manager:
uv - MCP Lib:
fastmcp - Database:
lancedb(Vector + FTS) - Config:
pydantic-settings
Directory Structure
packages/skillport-core/src/skillport/: Source code (modular monolith)interfaces/cli/: Typer CLI adapterinterfaces/mcp/: FastMCP server adaptermodules/skills/: Skill management public/internal APIsmodules/indexing/: Index build/query logicshared/: Config, types, utils, exceptions
docs/latest/: Living documentation (SSOT)docs/releases/vX.Y.Z/: Release snapshots (frozen)docs/steering/: Governance & guides.skills/: Local skills storage for testingverify_server.py: Verification script (Mock Client)
3. Operation & Verification
To act autonomously, always verify changes using these commands:
- Install/Sync:
uv sync - Run Server (Manual):
SKILLPORT_SKILLS_DIR=.skills SKILLPORT_EMBEDDING_PROVIDER=none uv run python -m skillport.interfaces.mcp.cli - Verify Functionality (Critical):
uv run verify_server.py- Always run this after modifying
server.py,db/, orconfig.py.
- Always run this after modifying
4. Debugging & Logging
- MCP Constraints: The server communicates via
stdout.- NEVER print debug info to
stdout. - ALWAYS use
sys.stderrfor logs/prints.
- NEVER print debug info to
- Logs: If
verify_server.pyfails, check thestderroutput captured in the tool result.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

