Use when Agent is asked to study, learn, or absorb knowledge from external sources (GitLab wikis, documentation pages, URLs, or pasted content) and produce curated knowledge notes in the vault. Use when the user says "learn about", "study", "absorb", "index", "pull in docs for", or wants to populate the vault with reference material from an external source. Not for: quick one-off lookups or answers that don't need to be persisted in the vault.
Agent can study external sources and produce curated knowledge notes in the vault. This skill defines the protocol for acquiring, distilling, and storing reference material so it is indexed by the RAG server and available to all agents.
This is NOT a bulk scraper. The goal is curated, tagged, connected knowledge notes — not raw dumps.
skills/brain/SKILL.md) — all vault writes follow
its Agent Write Discipline rulesglab CLI authenticated for GitLab wiki accessThe primary source for OSDU knowledge. Use the GitLab wiki API:
# List pages in a project wiki
glab api "projects/<url-encoded-path>/wikis?per_page=100" --hostname community.opengroup.org
# List pages in a group wiki
glab api "groups/<url-encoded-path>/wikis?per_page=100" --hostname community.opengroup.org
# Fetch a single page
glab api "groups/<url-encoded-path>/wikis/<slug>" --hostname community.opengroup.org
Known OSDU wiki sources:
| Source | API path | Content |
|---|---|---|
| Platform group wiki | groups/osdu%2Fplatform/wikis | Core services, APIs, architecture |
| PMC wiki | projects/osdu%2Fgovernance%2Fproject-management-committee/wikis | Governance, releases, strategy |
| Documentation wiki | projects/osdu%2Fdocumentation/wikis | Mostly redirects to platform group wiki |
When given a URL, use WebFetch to retrieve content, then distill into a knowledge note.
When the user pastes content directly, treat it as the source material and distill.
List available pages from the source. Filter out noise:
Include — pages about architecture, services, APIs, governance, strategy, processes, standards, patterns, and the most recent release notes (latest 1-2 milestones only).
Exclude — upload/attachment pages, sidebar navigation, historical release/tagging notes (keep only the latest), duplicate or redirect pages.
Present the filtered list to the user and confirm which pages to ingest.
For each selected page:
Transform raw wiki content into a vault knowledge note. This is the critical step — do NOT copy-paste raw wiki markdown. Instead:
[[_TOC_]])Create the knowledge note following brain skill conventions:
Frontmatter:
---