bama
BAMA: 모든 Mac 앱을 만들 수 있습니다
Codex·Claude Code 등용 에이전트 스킬, 미궁 탐색처럼 열린 연구, 증명·반증·추측·미확인 내용과 증명 단계 표시
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