bama
BAMA: Build Any Mac App. Agent skills to research, clone, design, build, optimize, and test native macOS apps with Swift and SwiftUI.
翻譯準備中
An agent skill for Codex, Claude Code and other clients: open-ended research as the exploration of a labyrinth, with a map of what is proved, refuted, conjectured and still dark, proof tiers, independ
翻譯準備中
技能Python · HTMLGitHub @nasqret自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
An agent skill for Codex, Claude Code and other clients: open-ended research as the exploration of a labyrinth, with a map of what is proved, refuted, conjectured and still dark, proof tiers, independent referees and campaigns of agents.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
A skill for Codex and
Claude Code, for open-ended research: mathematics,
theoretical science, algorithms, anywhere the goal is to find out what is still unknown.
The skill treats a research programme as the exploration of a labyrinth. Your agent keeps an
exact map of where you are:
• which corridors are charted (proved, or computed exhaustively);
• which are walled off (refuted, or impossible);
• which doors are visible but not yet entered (questions, conjectures);
• where it is still dark.檢視完整 README ↗A skill for Codex and Claude Code, for open-ended research: mathematics, theoretical science, algorithms, anywhere the goal is to find out what is still unknown.
The skill treats a research programme as the exploration of a labyrinth. Your agent keeps an exact map of where you are:
Every session starts from that map and leaves it changed. A refutation counts as progress: it turns a hoped-for corridor into a wall and usually reveals a new door.
The method was developed on a research programme in pure mathematics in September and October 2026. The lessons from that programme are part of the skill.
1. Install the whole repository for your client.
Codex (CLI, desktop app or IDE extension):
mkdir -p "$HOME/.agents/skills"
git clone https://github.com/nasqret/labyrinth-exploration "$HOME/.agents/skills/labyrinth-exploration"
For a project-scoped Codex installation, clone under .agents/skills/labyrinth-exploration
in that project's repository instead. See the Codex guide for
resource paths, native subagents, permissions and session handoff.
Claude Code:
mkdir -p "$HOME/.claude/skills"
git clone https://github.com/nasqret/labyrinth-exploration "$HOME/.claude/skills/labyrinth-exploration"
Run your client from the research project, not the installed skill directory. In Codex,
invoke $labyrinth-exploration or describe a matching task; in Claude Code, invoke
/labyrinth-exploration or describe the task. Codex detects new skills automatically;
restart if it does not appear. Start a new Claude Code session after installing.
Both clients use the same SKILL.md, references, templates and data formats. No MCP server,
client SDK or third-party Python package is needed for the engine or initial example.
2. See a complete map. The repository includes a small public example: how many triangles can a graph on n vertices have? It builds in seconds and needs only Python 3:
LABYRINTH_SKILL_DIR="$HOME/.agents/skills/labyrinth-exploration" # Codex
# For Claude Code: LABYRINTH_SKILL_DIR="$HOME/.claude/skills/labyrinth-exploration"
LABYRINTH_DEMO_DIR="$(mktemp -d "${TMPDIR:-/tmp}/labyrinth-demo.XXXXXX")"
mkdir -p "$LABYRINTH_DEMO_DIR/labyrinth/dashboard"
cp "$LABYRINTH_SKILL_DIR/templates/lab.py" "$LABYRINTH_DEMO_DIR/labyrinth/"
cp "$LABYRINTH_SKILL_DIR/templates/dashboard.html" "$LABYRINTH_DEMO_DIR/labyrinth/dashboard/template.html"
cp "$LABYRINTH_SKILL_DIR"/examples/triangle-counts/{knowledge.json,events.jsonl,sota.json} "$LABYRINTH_DEMO_DIR/labyrinth/"
python3 "$LABYRINTH_SKILL_DIR/examples/triangle-counts/make_example.py" "$LABYRINTH_DEMO_DIR/labyrinth"
cd "$LABYRINTH_DEMO_DIR"
python3 labyrinth/lab.py check && python3 labyrinth/lab.py build
open labyrinth/dashboard/index.html # or xdg-open on Linux
3. Use it on your own question. In either client, describe the programme, for example:
I want to understand which values the crossing number takes on cubic graphs of each size. Map what is known, set up the labyrinth for this project, and push the bounds.
The agent reads the skill and sets up labyrinth/ in your repository. It then works in the
loop below and leaves a dashboard and a state-of-the-art table behind. More prompts are in
examples/prompts.md.
Each iteration picks one to three doors and explores them with several tool families at once: literature sweeps in the background, small computations, extreme and named examples. It then states a bold conjecture with its test, runs the test, logs the outcome, has it refereed, and updates the map. A refuted claim becomes a dead end with a one-line lesson, followed by the modified statement. When the map stops changing, an escalation ladder takes over: change the tools, the parameter or the extremes, relax a hypothesis, invert the question, import from another community, or launch a broad attack.
The tutorial walks through all of this step by step, on the example.
| artifact | file | what it holds |
|---|---|---|
| knowledge graph | labyrinth/knowledge.json | results, conjectures, hunches, open doors, dead ends, families, methods, sources, with typed links |
| event log | labyrinth/events.jsonl | every discovery, the moment it happens |
| frontier map | labyrinth/frontier.json | for each size, the status of every admissible value (written by your scripts) |
| state of the art | labyrinth/sota.json | the best known result for each question, with its history |
| dashboard | labyrinth/dashboard/index.html | all of the above, built by lab.py build |
| agent archive | research/agents/<name>/ | every agent's report, verbatim, with its code and its referee |
When there are more open doors than one iteration can enter, the skill runs a campaign. One
attack agent works on each conjecture, trying at least five perspectives. Each report goes
to an independent referee, who returns a verdict per item and corrections ready to apply.
Writers turn refereed results into drafts and exact edits, tested on a copy. The
coordinator reviews everything and integrates it. The
campaign guide has the integration checklist and the failure
modes we hit; fill-in briefs are in templates/briefs/.
| state of the art | knowledge graph |
|---|---|
| board | frontier |
See examples/ for the example's files, the prompts, and the briefs.
SKILL.md the shared skill: what the agent reads when it triggers
agents/openai.yaml Codex display metadata and starting prompt
references/ loaded on demand: the loop, campaigns, compute etiquette,
saturation, the schema, lessons from a long programme
templates/lab.py the engine (standard-library Python): event log, check, build, status
templates/dashboard.html the dashboard (one HTML file, d3), filled in by lab.py build
templates/briefs/ fill-in briefs for attack agents, referees and writers
examples/ the runnable example, example prompts
docs/tutorial.md the step-by-step tutorial
docs/codex-testing.md native discovery and behavioral validation in Codex
assets/ the graphics (generated by tools/make_graphics.py) and screenshots
tests/ tests of the engine and of the skill's internal consistency
The dashboard and the notes of a real programme usually contain unpublished results. The skill keeps them local or publishes them privately to an authorized destination, and it never puts unpublished results into anything public (a post, a figure, a shared skill) without your consent. This repository contains no results of the programme it was developed on.
The installed skill is a clone of this repository, so updating it is git pull.
MAINTAINING.md describes how changes are made and released. In short:
edit, run the tests, record the change in the changelog, push. Issues and
pull requests are welcome.
Run the engine and consistency suite with python3 -m unittest discover -s tests -v.
The Codex testing guide adds a native skill-discovery check and
isolated behavioral tests; model-backed tests are opt-in.
MIT © 2026 Bartosz Naskręcki