Use without installing¶
You can run a gleanyard project without installing anything on your computer. The project lives in a GitHub repo, GitHub Actions run the collection, and an assistant in the cloud sets sources up. There are four ways in, and you can combine them.
| Way in | What you get | Needs |
|---|---|---|
| Template repo | A project repo in one click | A GitHub account |
| Claude Code on the web | An assistant that researches, sets up and repairs sources | A Claude account |
| Codespaces | An editor in the browser with gleanyard and Claude Code installed | GitHub Codespaces (free hours each month) |
| The connector | Registry search and published records inside any AI app | Nothing, it only reads |
| The GitHub Action | gleanyard commands in your own workflows | A workflow file |
Start from the template repo¶
kausalflow/gleanyard-template holds
what gleanyard init writes. Click Use this template, name the repo and create it. Keep
it public if the data may be public: Actions minutes are free for public repos.
Then, on github.com:
- In
gleanyard.yaml, replacemy-collectionwith your repo's name andOWNERwith your GitHub name, so sites can see who is fetching. - Write what you want to collect in
research.mdand the fields of one record inschema.yaml. The schema reference lists the field types.
The template has the same workflows as any project: validate checks pull requests and
collect runs daily once a source is enabled. Repair and
research stay off until you add a model key.
Set sources up in the cloud¶
Open Claude Code on the web, pick the repo and ask:
- "Research sources for this project." It reads
research.mdandschema.yaml, searches, probes each site and opens a pull request with candidates. - "Set up the candidate for example.org." It writes the source, tries the extraction modes,
saves a fixture and the terms it read, and opens a pull request with the
tryreport.
The repo's CLAUDE.md and the gleanyard skill give it the
procedures, and the session installs the pinned gleanyard on its own. You review each pull
request, decide the source's rights and set enabled: true. The Claude GitHub app works the
same way from an issue: mention @claude with the request.
Or open it in Codespaces¶
The template has a devcontainer. Code → Codespaces → Create codespace opens the repo in
a browser editor with Python, gleanyard (with its MCP server registered for Claude Code) and
Claude Code ready. Run claude in the terminal and ask as above, or run commands yourself:
crawl4ai, which only gleanyard map needs, is not preinstalled:
pip install 'gleanyard[map]' && crawl4ai-setup.
The read-only connector¶
The gleanyard connector is a remote MCP server. Add its URL as a custom connector in claude.ai, ChatGPT, Claude Desktop or any client that speaks MCP over HTTP:
| Tool | What it reads |
|---|---|
get_started |
How to start a project, as on this page |
search_recipes |
The source registry: recipes, their schema, tier and health |
get_recipe |
One recipe's source file, notes and terms evidence |
get_schema |
A schema the registry's recipes are written for |
project_status |
status.json of a public project repo: health of each source |
search_records |
A public project's rights-filtered export, by text and source |
recent_changes |
A public project's change feed |
It is read-only by design. It cannot create, change or run sources, and it never fetches
the sites a project collects from: it reads only the registry's site and
raw.githubusercontent.com, so it sees exactly what a project has already published.
Private repos stay invisible to it. To set up sources, use one of the ways above.
Ask, for example: "Using gleanyard, what family events in kausalflow/berlin-family-events mention theater?" or "Are any sources failing in kausalflow/berlin-family-events?"
Run your own¶
The connector is one file with no dependencies,
connector/worker.js, for
Cloudflare Workers. The free plan's 100,000 requests a day are plenty for it. To serve your
own registry, set REGISTRY_URL in wrangler.toml, then:
node connector/test.mjs runs its tests offline.
In a fork or copy of the gleanyard repo, the Deploy connector workflow deploys it for you
whenever connector/ changes on main: add the repository secrets CLOUDFLARE_API_TOKEN (a
token from the template "Edit Cloudflare Workers") and CLOUDFLARE_ACCOUNT_ID. Without them
the workflow does nothing.
The GitHub Action¶
The gleanyard repo is also an Action. It installs the gleanyard version of the ref you use and runs commands, one per line:
- uses: actions/checkout@v4
- uses: kausalflow/[email protected]
with:
run: |
validate
test
| Input | Default | Meaning |
|---|---|---|
run |
validate |
Commands without the leading gleanyard, one per line |
working-directory |
. |
The project folder |
version |
the action's ref | A pip specifier instead, such as ~=0.14.0 |
extras |
none | Extras to install, such as llm |
python-version |
3.12 |
Passed to setup-python |
The template's own workflows install gleanyard with pip and do not need the Action; it is
for workflows you write yourself, such as checking a project folder inside another repo.