بنقرة واحدة
aleph
/aleph - External memory workflow for large local data.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
/aleph - External memory workflow for large local data.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | aleph |
| description | /aleph - External memory workflow for large local data. |
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.
Pick the correct front door:
load_workspace_manifest(...)load_file(...)load_context(...)Repo-scale default:
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:
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.
search_context(...) to find relevant regionspeek_context(...) to inspect small rangessemantic_search(...) for meaning-based lookupchunk_context(...) when navigability mattersrg_search(...) to sweep repo trees quicklySearch before peeking. Pull only the slices you need.
exec_python(...) for heavier analysis with ctx bound in the sandboxoutput_feedback="full"; exec_python(...) is not
print-onlyfull mode Aleph can return stdout, stderr, error text, and a rendered
return valueconfigure(output_feedback="metadata")search, peek, lines, chunk,
extract_*, semantic_search, and citesummary, counts,
matches, or resultget_variable(...)get_variable("ctx") as blocked for plugin workflows; use bounded
slices or compact derived variables insteadExample:
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")
Real recursion helper signatures:
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:
sub_query_batch(...) for one prompt over many slicessub_query_map(...) for distinct prompts, keeping parallel=True unless
you need sequential executionconfigure(sub_query_share_session=true) when nested agents need access
to parent contextsconfigure(sub_query_timeout=300, sandbox_timeout=300)evaluate_progress(...) when the answer is not yet stablesummarize_so_far(...) if the trajectory is getting longfinalize(answer=..., confidence=..., context_id=...) when doneUsers can request a specific recursion depth with /aleph N target.
| Invocation | Depth | Strategy |
|---|---|---|
/aleph file.py | 1 | Direct file analysis with load_file, search_context, peek_context, exec_python |
/aleph repo/ | 1 | Repo analysis with load_workspace_manifest, rg_search, targeted load_file, exec_python |
/aleph 2 file.py | 2 | Fan-out with sub_query_batch or sub_query_map |
/aleph 3 file.py | 3 | Recursive sub_aleph with longer timeouts |
/aleph 4 file.py | 4 | Deep recursion with explicit timeout tuning |
Escalation rule:
When the user points at a repo, codebase, or project tree:
load_workspace_manifest(...)rg_search(...) to locate candidate filesload_file(...)When the user points at one large file:
load_file(...)read_file(...) as the default entry point for large files or reposload_workspace_manifest(...) is the
better first stepget_variable("ctx") as a valid plugin workflowexec_python(...) only returns print() output