Logo vun Aleph

Aleph

Communautéit
Hmbown
aleph

/aleph - External memory workflow for large local data.

Iwwersiicht

EditeurHmbown
Repositoryaleph
Skill-Nummaleph
Stären
218
Forks
25
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum Hmbown op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Aleph an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Hmbown/aleph/tree/main/plugins/aleph/skills/aleph
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Hmbown/aleph.git /tmp/aleph
mkdir -p .claude/skills
cp -r /tmp/aleph/plugins/aleph/skills/aleph .claude/skills/aleph
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Aleph an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Aleph automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Aleph net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

/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

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

Heefeg gestallte Froen

Wat mécht de KI-Skill Aleph?

/aleph - External memory workflow for large local data.

Firwat Aleph op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Aleph besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Aleph an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Hmbown/aleph/tree/main/plugins/aleph/skills/aleph an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Aleph benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Aleph benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Aleph domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Aleph gratis?

Jo. De Skill gëtt vum Hmbown ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇