agentleFS
pickleshellpickleshell/next-level-agent/AGENTS.md

next-level-agent

AGENTS.md7 starsChanged 5 months agoMITView on GitHub

This repository contains Next Level Agent for OpenCode. These instructions are for a coding agent, including OpenCode or Codex, that is helping a user install, verify, update, or develop NLA. Codex may assist with the installation process, but the complete NLA runtime is currently supported only in OpenCode. Do not describe this file as evidence that NLA supports Codex CLI or any other coding-agent CLI. Install NLA as a stable local clone and launch OpenCode against the user's selected project…

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

25 rules. About 2 are common, 18 are distinctive, and 5 are very specific to this project.

  • ≈2

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈18

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read README.md for product architecture and role boundaries.

    line 13
  2. Distinctive:

    Read INSTALL.md for the supported Alpha installation procedure.

    line 14
  3. Very specific:

    Read docs/PROJECT_STATUS_AND_USAGE.md for current limitations, telemetry, state locations, and roadmap.

    line 15
  4. Very specific:

    Read docs/DRAFT_0_4_IMPLEMENTATION_STATUS.md before proposing work from the historical Draft 0.4.

    line 16
  5. Distinctive:

    Ask which project the user wants to run NLA against if it is not clear from the current workspace.

    line 32
  6. Very specific:

    Use a stable clone path such as ~/.local/share/nla/next-level-agent.

    line 33
  7. Common:

    Do not overwrite an existing clone, global OpenCode config, project config, shell profile, provider config, or credentials.

    line 34
  8. Distinctive:

    Before updating an existing clone, run git status --short --branch and preserve local changes.

    line 35
  9. Distinctive:

    Do not run destructive Git commands.

    line 36
  10. Common:

    Do not store API keys in the repository or NLA state.

    line 37
  11. Distinctive:

    Do not change model bindings without showing the proposed change to the user when it affects provider access or cost.

    line 38
  12. Distinctive:

    Do not install packages or providers unless the user authorizes it.

    line 39
  13. Very specific:

    Prefer OPENCODE_CONFIG over copying the complete NLA configuration into every project.

    line 40
  14. Very specific:

    Treat opencode debug config as a required non-LLM verification step.

    line 41
  15. Distinctive:

    Use a harmless read-only smoke test before a real task.

    line 42
  16. Distinctive:

    Check that every enabled pool has at least one model the user can access.

    line 62
  17. Distinctive:

    Verify all of the following:

    line 73
  18. Distinctive:

    no target-project configuration unexpectedly replaced critical NLA fields.

    line 80
  19. Distinctive:

    Do not claim success if any required value is unknown or if the plugin and bootstrap skill were not observed.

    line 102
  20. Distinctive:

    Do not restart work on the Draft 0.4 transactional installer, managed launcher, immutable catalog, or full benchmark laboratory unless the …

    line 116
  21. Distinctive:

    Use focused tests proportional to the change.

    line 121
  22. Distinctive:

    Never claim completion without fresh verification evidence.

    line 122
  23. Distinctive:

    Do not commit or push unless the user asks for it.

    line 123
  24. Distinctive:

    Do not open a pull request to Superpowers upstream for NLA-specific changes.

    line 124
  25. Distinctive:

    Do not claim support for another CLI without a complete NLA end-to-end integration test.

    line 126

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Next Level Agent Repository Instructions

This repository contains Next Level Agent for OpenCode.

Purpose of This File

These instructions are for a coding agent, including OpenCode or Codex, that is helping a user install, verify, update, or develop NLA.

Codex may assist with the installation process, but the complete NLA runtime is currently supported only in OpenCode. Do not describe this file as evidence that NLA supports Codex CLI or any other coding-agent CLI.

Before Acting

  1. Read README.md for product architecture and role boundaries.
  2. Read INSTALL.md for the supported Alpha installation procedure.
  3. Read docs/PROJECT_STATUS_AND_USAGE.md for current limitations, telemetry, state locations, and roadmap.
  4. Read docs/DRAFT_0_4_IMPLEMENTATION_STATUS.md before proposing work from the historical Draft 0.4.
  5. Inspect the current Git status and preserve user changes.

Installation Objective

Install NLA as a stable local clone and launch OpenCode against the user's selected project with:

OPENCODE_CONFIG=/absolute/path/to/next-level-agent/opencode.json \
  opencode /absolute/path/to/project

The supported Alpha installation does not require the unfinished transactional installer described by Draft 0.4.

Installation Rules

  • Ask which project the user wants to run NLA against if it is not clear from the current workspace.
  • Use a stable clone path such as ~/.local/share/nla/next-level-agent.
  • Do not overwrite an existing clone, global OpenCode config, project config, shell profile, provider config, or credentials.
  • Before updating an existing clone, run git status --short --branch and preserve local changes.
  • Do not run destructive Git commands.
  • Do not store API keys in the repository or NLA state.
  • Do not change model bindings without showing the proposed change to the user when it affects provider access or cost.
  • Do not install packages or providers unless the user authorizes it.
  • Prefer OPENCODE_CONFIG over copying the complete NLA configuration into every project.
  • Treat opencode debug config as a required non-LLM verification step.
  • Use a harmless read-only smoke test before a real task.
  • Report exact evidence, including OpenCode version, resolved plugin path, default agent, skills path, model bindings, and smoke-test result.

Required Preflight

Run:

opencode --version
git --version
git -C /absolute/path/to/next-level-agent status --short --branch

Inspect:

opencode.json
config/model-pools.json

Check that every enabled pool has at least one model the user can access. Public defaults use models that passed the documented development smoke tests; provider availability can still change, so verify the resolved model list during installation.

Required Verification

From the target project, run:

OPENCODE_CONFIG=/absolute/path/to/next-level-agent/opencode.json \
  opencode debug config

Verify all of the following:

  • the Next Level Agent plugin is loaded from the intended clone;
  • default_agent is nla;
  • the NLA roles are present;
  • the NLA skills directory is present;
  • compaction settings are active;
  • no target-project configuration unexpectedly replaced critical NLA fields.

Then start a persistent OpenCode TUI for the target project and run a harmless read-only prompt. Do not use one-shot opencode run to validate controlled compaction.

Expected Installation Report

Report:

NLA clone:
Target project:
OpenCode version:
Resolved plugin:
Default agent:
Skills path:
Primary model:
Enabled role pools:
Config conflicts:
Smoke test:
Known warnings:

Do not claim success if any required value is unknown or if the plugin and bootstrap skill were not observed.

Development Boundaries

NLA Core is the current priority. Focus on:

  • hard role permissions;
  • Task Context Packet validation;
  • workflow transition enforcement;
  • Supervisor behavior tests;
  • practical Tier 2 and Tier 3 end-to-end tests;
  • stable model pools and deterministic failure fixtures;
  • memory, compaction, restoration, and telemetry reliability.

Do not restart work on the Draft 0.4 transactional installer, managed launcher, immutable catalog, or full benchmark laboratory unless the user explicitly places NLA Managed Profile back in scope.

Repository Safety

  • Preserve unrelated and pre-existing changes.
  • Use focused tests proportional to the change.
  • Never claim completion without fresh verification evidence.
  • Do not commit or push unless the user asks for it.
  • Do not open a pull request to Superpowers upstream for NLA-specific changes.
  • Preserve Superpowers attribution and license boundaries.
  • Do not claim support for another CLI without a complete NLA end-to-end integration test.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.