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