Export a bdistill knowledge base into any format — system prompt for Claude Projects/Cursor/Copilot/ChatGPT, Python harness module with build_prompt(), JSON for agent consumption, Excel with quality color-coding, audit checklist CSV, or fine-tuning JSONL.
Export a bdistill knowledge base into any format — system prompt for Claude Projects/Cursor/Copilot/ChatGPT, Python harness module with build_prompt(), JSON for agent consumption, Excel with quality color-coding, audit checklist CSV, or fine-tuning JSONL.
Triggers on "export", "system prompt", "harness", "training data", "Excel export", "export for Claude Project".
Outputs file on disk.
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeDeclared
CursorDeclared
CodexNot declared
GitHub CopilotDeclared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars2
LicenseMIT
Default branchmain
Open issues0
Status
Archived
Skill metadata
Parsed from SKILL.md frontmatter.
Version1.0
LicenseMIT
Declared agentsclaude-codecursorgithub-copilot
More metadata
author
bdistill
version
1.0
suite
bdistill
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md5,248 B
docsSUMMARY.md414 B
History
First seen on skills.sh
First recorded snapshot · 2 installs
SKILL.md
When to use
Make your AI tool domain-reliable — paste validated rules into Claude Project/Cursor/Copilot
Feed rules to a deterministic agent — export as Python module with RULES + build_prompt()
Export JSON for bdistill-operationalize to contrast against live data
Generate fine-tuning JSONL for LoRA training (alpaca/sharegpt/openai formats)
Share with non-technical team — Excel with quality color-coding or audit checklist CSV
Input contract
required:
domain: string # Knowledge base domain name (e.g. "aml-compliance")
format: enum # prompt | harness-json | harness-python | excel | checklist | training-jsonl
optional:
platform: enum # claude-project | cursor-rules | copilot-instructions | chatgpt-custom | generic
training_format: enum # alpaca | sharegpt | openai
min_quality: float # Minimum quality score threshold (default: 0.7)
max_rules: int # Maximum number of rules to include (default: 50)
max_context: int # Maximum number of context entries to include (default: 20)
Output contract
format: File on disk. Path depends on format:
prompt: data/knowledge/exports/prompts/{domain}-{platform}-{date}.md
harness-json: data/knowledge/exports/harness/{domain}_{date}.json
harness-python: data/knowledge/exports/harness/{domain}_{date}.py
excel: data/knowledge/exports/{domain}.xlsx
checklist: data/knowledge/exports/{domain}-checklist.csv
training-jsonl: data/knowledge/exports/training/{domain}-{date}-train-{fmt}.jsonl # + val split
returns:
path: string # Absolute path to exported file
format: string # Format used
entries_exported: int # Total entries written
stats:
rules_count: int
context_count: int
quality_distribution: object # e.g. {A: 12, B: 8, C: 3}
Format comparison table
Format
For
Contains
Who uses it
prompt
AI tools
Markdown rules + context
Compliance officer pasting into Claude Project
harness-json
Agent code
JSON with rules/context arrays
Developer building a monitoring agent
harness-python
Python harness
RULES list + build_prompt()
Developer importing into sub-agent
excel
Review
Color-coded quality, filterable
Manager reviewing extracted knowledge
checklist
Audit
Blank status/evidence/owner columns
Auditor doing compliance review
training-jsonl
Fine-tuning
Instruction/output pairs + train/val
ML engineer training a LoRA adapter
With bdistill MCP (full power)
prompt: Call bdistillexportprompt with domain, platform, minquality, maxrules, max_context
harness: Call bdistillexportharness with domain, format (json/python-dict/python-dataclass), minquality, maxrules
excel: Call bdistillexportexcel with domain, min_quality
checklist: Call bdistillexportchecklist with domain
training: Call bdistilltrainingexport with domain, format (alpaca/sharegpt/openai)
Standalone (no dependencies)
Read entries from data/knowledge/base/{domain}.jsonl + data/rules/base/{domain}.jsonl
Filter by min_quality, sort by confidence descending
Partition into rules (entries containing IF/THEN/WHEN/THRESHOLD) and context (everything else)