Tooluck logoTooluck
SKILL.md

teach

Agent skill fromccplugins/awesome-claude-code-plugins

Teaches the Second Brain to recognize a new external data source. Fetches content from Confluence, Google Docs, GitHub repositories, remote URLs, or any local file format supported by docling (DOCX, PPTX, XLSX, PDF, HTML, EPUB, images, Markdown, CSV, and more), converts non-markdown formats to markdown via docling, runs the /graphify extraction pipeline, and delegates entity persistence (including the graphify-output merge) to /bedrock:preserve. Use when: "bedrock teach", "bedrock-teach", "teach", "ingest source", "import document", "/bedrock:teach", or when the user provides a Confluence, Google Docs, or GitHub URL, a remote file URL, or a local file path to incorporate into the vault.

How to install teach

install teach
# install the awesome-claude-code-plugins pack with the skills CLI
npx skills add ccplugins/awesome-claude-code-plugins

# or add only this skill to Claude Code: copy the folder

plugins/bedrock/skills/teach/

# into

~/.claude/skills/teach/ (all projects)

.claude/skills/teach/ (one project)

plugins/bedrock/skills/teach/SKILL.md

Apache-2.0Full file
1# /bedrock:teach — External Source Ingestion into the Second Brain
2
3## Plugin Paths
4
5Entity definitions and templates are in the plugin directory, not at the vault root.
6Use the "Base directory for this skill" provided at invocation to resolve paths:
7
8- Entity definitions: `<base_dir>/../../entities/`
9- Templates: `<base_dir>/../../templates/{type}/_template.md`
10- Plugin CLAUDE.md: `<base_dir>/../../CLAUDE.md` (already injected automatically into context)
11
12Where `<base_dir>` is the path provided in "Base directory for this skill".
13
14---
15
16## Vault Resolution
17
18Resolve which vault to teach. This skill can be invoked from any directory.
19
20**Step 1 — Parse `--vault` flag:**
21Check if the input arguments include `--vault <name>`. If found, extract the vault name and remove it from the arguments (the remaining text is the source URL/path).
22
23**Step 2 — Resolve vault path:**
24
251. **If `--vault <name>` was provided:**
26 Read the vault registry at `<base_dir>/../../vaults.json`. Find the entry matching the name.
27 If not found: error — "Vault `<name>` is not registered. Run `/bedrock:vaults` to see available vaults."
28 If found: set `VAULT_PATH` to the entry's `path` value. Store the resolved vault name as `VAULT_NAME`.
29
302. **If no `--vault` flag — CWD detection:**
31 Read `<base_dir>/../../vaults.json`. Check if the current working directory is inside any registered vault path
32…

Excerpt shown under the repository's Apache-2.0 license.

More skills in awesome-claude-code-plugins

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates