A local-first Agent Skill repository for querying the official Bricks Academy documentation.
This repository packages a maintained mirror of the docs published at
https://academy.bricksbuilder.io/ and exposes it as a skill under
skills/bricks-academy/.
- A Bricks Academy corpus mirrored to local Markdown
- Downloaded local image assets referenced by the docs
- Search and lookup scripts for querying the corpus
- Sync scripts for refreshing the corpus when the official Academy site changes
- A skill definition compatible with the Agent Skills open specification
skills/bricks-academy/
├── SKILL.md
├── corpus/
├── index/
├── references/
└── scripts/
Key paths:
- Skill entry:
skills/bricks-academy/SKILL.md - Local corpus:
skills/bricks-academy/corpus/bricks-academy/ - Search index:
skills/bricks-academy/index/academy_corpus_manifest.csv
764synced documentation pages614downloaded local images51external embeds preserved as links
These numbers reflect the current Academy snapshot in this repository and may change as the official documentation evolves.
This repository is structured as a skill repository with a nested skills/ directory:
bricks-academy-skill/
└── skills/
└── bricks-academy/
└── SKILL.md
When installing manually, copy the inner skills/bricks-academy/ folder to a location your agent scans for skills.
Common skill locations:
- Codex/Copilot user-level:
~/.agents/skills/ - Codex/Copilot project-level:
.agents/skills/ - Claude Code user-level:
~/.claude/skills/ - Claude Code project-level:
.claude/skills/ - Other AI agents: check that agent's skill documentation for its supported global and project-level skill directories.
Install the skill globally for Codex/Copilot-style agents:
git clone https://github.com/kenming/bricks-academy-skill.git /tmp/bricks-academy-skill
mkdir -p ~/.agents/skills
cp -R /tmp/bricks-academy-skill/skills/bricks-academy ~/.agents/skills/
rm -rf /tmp/bricks-academy-skillResult:
~/.agents/skills/
└── bricks-academy/
└── SKILL.md
Install the skill only for one project:
git clone https://github.com/kenming/bricks-academy-skill.git /tmp/bricks-academy-skill
mkdir -p .agents/skills
cp -R /tmp/bricks-academy-skill/skills/bricks-academy .agents/skills/
rm -rf /tmp/bricks-academy-skillResult:
.agents/skills/
└── bricks-academy/
└── SKILL.md
For Claude Code, use the same copy command pattern with ~/.claude/skills/
or .claude/skills/ as the destination.
Confirm the installed skill folder contains:
SKILL.mdscripts/references/corpus/index/
Then ask your agent a Bricks Builder question such as:
How does Bricks query loop work?Look up bricks/query/before_loopFind the docs for Theme Styles in Bricks
This skill supports both explicit and implicit invocation.
Use the skill name directly when you want to force the agent to use this skill:
$bricks-academy Find the docs for bricks/query/before_loop and answer briefly.
This is useful when:
- You want deterministic local-doc lookup
- You are testing the skill
- You want to avoid ambiguity with broader web or framework knowledge
Ask a clearly Bricks-specific question in natural language:
In Bricks, what does bricks/query/before_loop do?
Where are Theme Styles configured in Bricks?
What is the Container element used for in Bricks?
The skill is designed so that clearly Bricks-specific queries can trigger local corpus lookup automatically, while unrelated generic topics should not trigger the skill.
Examples:
Search the corpus:
python3 skills/bricks-academy/scripts/search_corpus.py "query loop"
python3 skills/bricks-academy/scripts/search_corpus.py "bricks/query/before_loop" --kind hook
python3 skills/bricks-academy/scripts/search_corpus.py "theme styles" --section builder --subsection builder/styling --limit 5Open a document:
python3 skills/bricks-academy/scripts/show_doc.py "new:developer/hooks/actions/action-bricks-query-before_loop"Refresh the Academy corpus:
bash skills/bricks-academy/scripts/run_academy_sync.shCheck whether the official Academy docs changed without downloading the full corpus:
python3 skills/bricks-academy/scripts/check_academy_updates.pyAfter a trusted full sync, refresh the lightweight remote ETag baseline:
python3 skills/bricks-academy/scripts/check_academy_updates.py --update-cache- This repository tracks the official Bricks Academy documentation, which may continue to evolve.
- Structural and content changes are expected upstream.
- The skill is designed to answer from the local corpus first and only fall back to live browsing when needed.
- English:
README.md - Traditional Chinese:
README.zh-TW.md - Changelog:
CHANGELOG.md
This repository is licensed under the MIT License. See LICENSE.


