Agent skill

Aleph

by Hmbown in Hmbown/aleph

/aleph - External memory workflow for large local data. An agent skill from Hmbown/aleph.

MITAuto-check passed

Install Aleph

skills CLI
$ npx skills add Hmbown/aleph --skill aleph -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Hmbown/aleph aleph --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Hmbown/aleph.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/aleph/skills/aleph .claude/skills/aleph && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aleph
GitHub stars
218
Token cost
~1.3k tokens
SKILL.md length
551 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

/aleph - External memory workflow for large local data. An agent skill from Hmbown/aleph.

  • Works in 5 steps: Load → Orient → Compute → …
  • SKILL.md covers The 5-Phase Loop, Depth Invocation, Repo vs File Workflow and Anti-Patterns
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Aleph is an agent skill from Hmbown/aleph. /aleph - External memory workflow for large local data.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Model Context Protocol. The repository describes itself as: Skill + MCP server to turn your agent into an RLM. Load context, iterate with search/code/think tools, converge on answers. The licence is MIT.

Example prompts

  • “/aleph”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Load
  2. Orient
  3. Compute
  4. Recurse
  5. Converge

What it can do on your machine

Read from SKILL.md and the folder at commit 7c756d3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Aleph loads about 1.3k tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 551 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Hmbown/aleph at commit 7c756d3, republished under its MIT licence (© Hmbown). 551 words, ~1,330 tokens.

Download SKILL.mdSave it as .claude/skills/aleph/SKILL.md (or your agent's skills folder).
name
aleph
description
/aleph - External memory workflow for large local data.

/aleph - External Memory Workflow

Core rule: keep whole contexts out of the prompt. Return only focused slices or compact derived results.

This plugin bundles the Aleph MCP launcher, /aleph skill, aleph-expert agent, and an install-check hook. It assumes the aleph executable is already installed and available on PATH.

Note: tool names may appear as mcp__aleph__load_workspace_manifest in some clients.

The 5-Phase Loop

1. Load

Pick the correct front door:

  • Large repo or codebase: load_workspace_manifest(...)
  • Single large file: load_file(...)
  • Inline or generated content: load_context(...)

Repo-scale default:

text
load_workspace_manifest(paths=["src", "tests"], context_id="repo")
rg_search(
  pattern="FastAPI|APIRouter|router\\.",
  paths=["src", "tests"],
  load_context_id="routes"
)
load_file(path="pyproject.toml", context_id="pyproject")

Single-file default:

text
load_file(path="/absolute/path/to/large.log", context_id="log")
search_context(pattern="ERROR|WARN", context_id="log")
peek_context(context_id="log", start=1, end=60, unit="lines")

Do not start repo work by reading files one by one when load_workspace_manifest(...) is the right first move.

2. Orient
  • Use search_context(...) to find relevant regions
  • Use peek_context(...) to inspect small ranges
  • Use semantic_search(...) for meaning-based lookup
  • Use chunk_context(...) when navigability matters
  • Use rg_search(...) to sweep repo trees quickly

Search before peeking. Pull only the slices you need.

3. Compute
  • Use exec_python(...) for heavier analysis with ctx bound in the sandbox
  • Aleph defaults to output_feedback="full"; exec_python(...) is not print-only
  • In full mode Aleph can return stdout, stderr, error text, and a rendered return value
  • If output volume becomes distracting, optionally use configure(output_feedback="metadata")
  • Use built-in helpers such as search, peek, lines, chunk, extract_*, semantic_search, and cite
  • Store compact derived values in variables like summary, counts, matches, or result
  • Retrieve only those derived values with get_variable(...)
  • Treat get_variable("ctx") as blocked for plugin workflows; use bounded slices or compact derived variables instead

Example:

text
exec_python(code="""
matches = search(r"ERROR|WARN")
counts = {"matches": len(matches)}
summary = f"{counts['matches']} matching lines"
""", context_id="log")
get_variable(name="summary", context_id="log")
4. Recurse

Real recursion helper signatures:

text
sub_query(prompt, context_slice=None)
sub_query_batch(prompt, context_slices, limit=None)
sub_query_map(prompts, context_slices=None, limit=None, parallel=True)
sub_aleph(query, context=None)

Runtime guidance:

  • Use sub_query_batch(...) for one prompt over many slices
  • Use sub_query_map(...) for distinct prompts, keeping parallel=True unless you need sequential execution
  • Use configure(sub_query_share_session=true) when nested agents need access to parent contexts
  • For depth 3+, use configure(sub_query_timeout=300, sandbox_timeout=300)
5. Converge
  • Use evaluate_progress(...) when the answer is not yet stable
  • Loop back through orient and compute when confidence is low
  • Use summarize_so_far(...) if the trajectory is getting long
  • Use finalize(answer=..., confidence=..., context_id=...) when done
Show full SKILL.md (236 more words)Show less

Depth Invocation

Users can request a specific recursion depth with /aleph N target.

InvocationDepthStrategy
/aleph file.py1Direct file analysis with load_file, search_context, peek_context, exec_python
/aleph repo/1Repo analysis with load_workspace_manifest, rg_search, targeted load_file, exec_python
/aleph 2 file.py2Fan-out with sub_query_batch or sub_query_map
/aleph 3 file.py3Recursive sub_aleph with longer timeouts
/aleph 4 file.py4Deep recursion with explicit timeout tuning

Escalation rule:

  • Start at depth 1
  • Move to depth 2 when the answer needs chunk-level fan-out
  • Move to depth 3 or 4 only when nested structure or recursive synthesis is required

Repo vs File Workflow

When the user points at a repo, codebase, or project tree:

  • Start with load_workspace_manifest(...)
  • Use rg_search(...) to locate candidate files
  • Load only the files you actually need with load_file(...)
  • Compute inside Aleph instead of pasting file contents into the prompt

When the user points at one large file:

  • Start with load_file(...)
  • Search, peek, and compute inside Aleph
  • Pull back only the answer, a small slice, or a compact derived value

Anti-Patterns

  • Using read_file(...) as the default entry point for large files or repos
  • Loading a whole repo file-by-file when load_workspace_manifest(...) is the better first step
  • Treating get_variable("ctx") as a valid plugin workflow
  • Pasting raw file or repo content into the prompt when Aleph can search or compute instead
  • Claiming that exec_python(...) only returns print() output
  • Pinning a nested API backend in the checked-in plugin wrapper

© Hmbown, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/aleph/skills/aleph of Hmbown/aleph.

Open the folder on GitHubat commit 7c756d3

Compare with similar skills

Aleph next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Aleph compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aleph this skillHmbown/aleph218—~1.3kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Figma use_figma Plugin API Ruleswarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
Stitch to Remotion Walkthrough Videosgoogle-labs-code/stitch-skills8.4k6 repos~3.2kAutomated safety check: NotesApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Stitch to Remotion Walkthrough Videos

    google-labs-code/stitch-skills

    Official

    Builds walkthrough videos from Stitch design projects using Remotion, with transitions, zoom effects and text overlays on each screen.

    8.4k GitHub starsUsed in 6 repos~3.2k tokens
    Media & CreativeAuto-check: notes
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed

Questions about Aleph

What does Aleph do?

/aleph - External memory workflow for large local data. An agent skill from Hmbown/aleph. Aleph is an agent skill from Hmbown/aleph. /aleph - External memory workflow for large local data.

How do I install Aleph in Claude Code?

Run `npx skills add Hmbown/aleph --skill aleph -a claude-code`. Or copy the skill folder (plugins/aleph/skills/aleph in Hmbown/aleph) into .claude/skills/aleph in your project. Claude Code loads it when a task matches its description.

How do I install Aleph in Codex?

Run `npx skills add Hmbown/aleph --skill aleph -a codex`. Or copy the skill folder (plugins/aleph/skills/aleph in Hmbown/aleph) into .agents/skills/aleph in your project. Codex loads it when a task matches its description.

Can I use Aleph in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Hmbown/aleph --skill aleph -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aleph, .gemini/skills/aleph, .github/skills/aleph and .opencode/skills/aleph in your project.

What does Aleph need to run?

SKILL.md names no scripts, command-line tools or credentials: Aleph is instructions for the agent only.

Does Aleph access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Aleph safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Aleph use?

Aleph is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Aleph use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Aleph?

Skills that share tags, products or a category with Aleph: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aleph?

Hmbown (a GitHub user) maintains it in Hmbown/aleph, which has 218 GitHub stars. The repository was last updated on April 11, 2026.

Source: Hmbown/aleph on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.