agentleFS
MicrosoftKnown publishermicrosoft/openclaw-dev/.github/copilot-instructions.md

openclaw-dev

Copilot instructions25 starsChanged 5 months agoMITView on GitHub

This repo deploys OpenClaw as a secure, hosted AI assistant on Azure Container Apps, wired to Azure OpenAI in Foundry Models over a Managed Identity (no API keys), gated by Entra ID Easy Auth, with an optional Microsoft Teams channel. It is an alpha, single-tenant dev/test template. When the user asks you to deploy, configure, operate, troubleshoot, connect to Teams, or tear down this template, follow the playbook in skills/openclaw-dev/SKILL.md. Use this repo's own scripts, env-var contract, region list, and…

  • Reads credentials

The file

We split this copilot-instructions.md into the rules it gives an agent

8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    When the user asks you to deploy, configure, operate, troubleshoot, connect to Teams, or tear down this template, follow the playbook in …

    line 8
  2. Distinctive:

    Use this repo's own scripts, env-var contract, region list, and error catalog instead of guessing.

    line 11
  3. Very specific:

    If the chosen region lacks the model SKU, set AZURE_OPENAI_LOCATION separately.

    line 23
  4. Very specific:

    Teams is opt-in: default devclaw up is browser-only — no Bot app registration, no Azure Bot, no Teams channel.

    line 24
  5. Very specific:

    Restricted subscriptions/tenants: before devclaw up, set whichever of these apply: SERVICE_MANAGEMENT_REFERENCE=<smr-guid> (tenants that …

    line 29
  6. Very specific:

    Secrets: never commit secrets. _local/, .azure/, .azure-cli/, .azd-config/, the generated teams/package/manifest.json, and …

    line 40
  7. Very specific:

    Confirm destructive actions: before devclaw down / azd down, az ad app delete, RBAC removal, or deleting state, state exactly what will be …

    line 43
  8. Very specific:

    After a deploy: devclaw status should show Running.

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
copilot-instructions.md

Copilot instructions — openclaw-dev

This repo deploys OpenClaw as a secure, hosted AI assistant on Azure Container Apps, wired to Azure OpenAI in Foundry Models over a Managed Identity (no API keys), gated by Entra ID Easy Auth, with an optional Microsoft Teams channel. It is an alpha, single-tenant dev/test template.

When the user asks you to deploy, configure, operate, troubleshoot, connect to Teams, or tear down this template, follow the playbook in skills/openclaw-dev/SKILL.md. Use this repo's own scripts, env-var contract, region list, and error catalog instead of guessing.

Always-on rules

  • Single entrypoint: drive everything through ./devclaw <cmd> (Windows: .\devclaw.cmd <cmd>), which wraps azd. Fall back to azd up/azd deploy/ azd down directly only if the wrapper isn't runnable.
  • Configuration is via azd env set <KEY> <VALUE> before devclaw up — there is no .env file to edit. Model/version/capacity are Bicep params in infra/main.bicep (aiModelName/aiModelVersion/aiModelCapacity), not env vars.
  • Region: AZURE_LOCATION must be in the allowed list in infra/main.bicep. If the chosen region lacks the model SKU, set AZURE_OPENAI_LOCATION separately.
  • Teams is opt-in: default devclaw up is browser-only — no Bot app registration, no Azure Bot, no Teams channel. To enable: azd env set ENABLE_TEAMS true then re-run devclaw up, or just run devclaw teams (it prompts to enable and re-provisions). Don't suggest creating bot app registrations by default — they fail on restricted tenants.
  • Restricted subscriptions/tenants: before devclaw up, set whichever of these apply: SERVICE_MANAGEMENT_REFERENCE=<smr-guid> (tenants that require it on new app regs), SKIP_STORAGE=true (subscriptions whose Azure Policy blocks shared-key storage — ACA file mounts need shared keys today; gateway token + sessions won't persist across replica restarts). ACR admin is already disabled; image pulls use the container app's managed identity.
  • Model scope: today this targets Azure OpenAI models only (default gpt-5.4-mini). Do not claim Claude or other Foundry Models work today — they are "near future" scope.
  • Passwordless: the model is called keyless via Managed Identity (disableLocalAuth: true). Never add API keys or suggest key-based auth.
  • Secrets: never commit secrets. _local/, .azure/, .azure-cli/, .azd-config/, the generated teams/package/manifest.json, and teams/openclaw-teams-app.zip are gitignored — keep it that way.
  • Confirm destructive actions: before devclaw down / azd down, az ad app delete, RBAC removal, or deleting state, state exactly what will be destroyed and get explicit user confirmation. Never pass --force/--no-prompt to skip a confirmation the user hasn't given.
  • Cost: to pause, use devclaw stop (scale to 0, $0, state kept) — not down.

Quick verification

After a deploy: devclaw status should show Running; open the URL it prints, sign in with a Microsoft account, and confirm the WebChat UI loads. devclaw test only prints a status summary — it is not an end-to-end model 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.