Skip to content
Agentmart
Submit a tool

crawl

Ingest websites into QMD wiki collections for semantic search via /search and /explore.

Skill by EndUser123

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/enduser123-crawl

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Ingest websites into QMD wiki collections for semantic search via /search and /explore. Crawls with crawl4ai, dedupes by SHA256, injects [[wikilinks]] to related pages, logs to log.md, and rebuilds the qmd index. Use when adding web docs or articles to the searchable vault.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/crawl

What's inside

Skill name
crawl
Description
Ingest websites into QMD wiki collections for semantic search via /search and /explore. Crawls with crawl4ai, dedupes by SHA256, injects [[wikilinks]] to related pages, logs to log.md, and rebuilds the qmd index. Use when adding web docs or articles to the searchable vault.
License
MIT
Instructions
135 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Files (4)

  • SKILL.md
  • crawl_to_qmd.py
  • qmd-config.md · references/
  • test_crawl_to_qmd.py

SKILL.md (first lines)

# Crawl-Ingest

## Purpose

Ingest websites into QMD collections for semantic search via `/find` and `/all`.

**Requirements:**
- `crawl4ai` Python package
- `qmd` CLI tool
- Obsidian vault configured in `~/.config/qmd/index.yml`

## Pipeline

Two phases. Related-link discovery runs **after** the qmd index rebuilds, so every
freshly-saved page is searchable — and each page's own record is excluded so it never
links to itself.

**Phase 1 — during crawl:**

1. **Check dependencies** — Verify crawl4ai and qmd are installed (fail-fast)
2. **Fetch** — Crawl4AI extracts content as Markdown (bare `github.com/<owner>/<repo>` URLs fetch raw README, skipping browser chrome)
3. **Compute hash** — SHA256 of content for deduplication
4. **Check dedup** — Skip if hash/etag matches the per-domain registry
5. **Save** — Write to `wiki/sources/{domain}/{slug}.md` with frontmatter (no Related section yet)
6. **Log ingest** — Append entry to `log.md` with SHA256 for traceability

**Phase 2 — post-index (only if `qmd update` succeeded and the index is fresh):**

7. **Update index** — Run `qmd update <collection>` to rebuild the search index
8. **Find related** — For each saved page, qmd search against the freshly-rebuilt index
9. **Inject wikilinks** — Drop the page's own record (identity = file path), append a `## Related` block of `[[Page]]@related` links. Frontmatter (incl. dedup hash) and the registry are never touched in this pass.

If `qmd update` fails or any saved file postdates the index, Phase 2 is skipped and a
`NOTE: Related-link injection skipped` line appears in the summary.

## Usage

```bash
/crawl-ingest https://example.com --max-pages 5      # Crawl up to 5 pages
/crawl-ingest https://example.com --collection wiki   # Explicit collection
/crawl-ingest https://example.com --collection docs   # Custom collection
```

## Output Format

```markdown
---
source:
  url: https://example.com/page
  crawled_at: 2026-04-29
  hash: abc123...
title: Page Title
tags:
  - web-ingested
---

Content extracted by Crawl4AI...

## Related

[[Related Page 1]]@related
[[Related Page 2]]@related
```

## Deduplication

Content is deduplicated via SHA256 hash:
- Hash stored in frontmatter (`hash` field)
- Logged to `log.md` with date, URL, SHA256
- Re-crawling same URL skips already-ingested content

## Validation Checklist

After ingestion, verify:

```bash
# 1. Frontmatter check - has hash field
head -10 wiki/sources/example.com/*.md | grep "hash:"

# 2. Log entry exists
grep "SHA256:" wiki/log.md

# 3. QMD search finds content
qmd search --collection wiki "query from page" --format json

# 4. Wikilinks are valid pages
grep "@related" wiki/sources/example.com/*.md
```

## Error Handling

| Error | Cause | Fix |
|-------|-------|-----|
| `crawl4ai not installed` | Missing Python package | `pip install crawl4ai` |
| `qmd CLI not found` | Missing QMD | `pip install qmd` |
| `qmd CLI failed` | Wrong qmd command | Try `qmd-py` or `qmd` |
| Collection not found | QMD not configured | Check `~/.config/qmd/index.yml` |
| Vault not found | Wrong path in config | Verify vault path exists |
| Timeout | Site slow to respond | Increase wait in crawl config |
| Could not log to log.md | No write permission | Create log.md or check path |

## Examples

### Ingest Claude Code Hooks Guide

```bash
/crawl-ingest https://claudefa.st/blog/tools/hooks/hooks-guide --max-pages 3
```

### Ingest Python Documentation

```bash
/crawl-ingest https://docs.python.org/3/ --max-pages 10
```

### Ingest FastAPI Docs

```bash
/crawl-ingest https://fastapi.tiangolo.com/ --max-pages 5
```

From EndUser123/search-research, MIT.

More from EndUser123/search-research

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jul 9, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from EndUser123

Cite this page

crawl skill. Agent Mart. https://agentmart.dev/skills/enduser123-crawl (last updated 2026-10-24)