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
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- openclaw-devSkill
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
- Very specific: line 8
When the user asks you to deploy, configure, operate, troubleshoot, connect to Teams, or tear down this template, follow the playbook in …
- Distinctive: line 11
Use this repo's own scripts, env-var contract, region list, and error catalog instead of guessing.
- Very specific: line 23
If the chosen region lacks the model SKU, set AZURE_OPENAI_LOCATION separately.
- Very specific: line 24
Teams is opt-in: default devclaw up is browser-only — no Bot app registration, no Azure Bot, no Teams channel.
- Very specific: line 29
Restricted subscriptions/tenants: before devclaw up, set whichever of these apply: SERVICE_MANAGEMENT_REFERENCE=<smr-guid> (tenants that …
- Very specific: line 40
Secrets: never commit secrets. _local/, .azure/, .azure-cli/, .azd-config/, the generated teams/package/manifest.json, and …
- Very specific: line 43
Confirm destructive actions: before devclaw down / azd down, az ad app delete, RBAC removal, or deleting state, state exactly what will be …
- Very specific: line 51
After a deploy: devclaw status should show Running.
≈ “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.
Files
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 wrapsazd. Fall back toazd up/azd deploy/azd downdirectly only if the wrapper isn't runnable. - Configuration is via
azd env set <KEY> <VALUE>beforedevclaw up— there is no.envfile to edit. Model/version/capacity are Bicep params ininfra/main.bicep(aiModelName/aiModelVersion/aiModelCapacity), not env vars. - Region:
AZURE_LOCATIONmust be in the allowed list ininfra/main.bicep. If the chosen region lacks the model SKU, setAZURE_OPENAI_LOCATIONseparately. - Teams is opt-in: default
devclaw upis browser-only — no Bot app registration, no Azure Bot, no Teams channel. To enable:azd env set ENABLE_TEAMS truethen re-rundevclaw up, or just rundevclaw 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 generatedteams/package/manifest.json, andteams/openclaw-teams-app.zipare 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-promptto skip a confirmation the user hasn't given. - Cost: to pause, use
devclaw stop(scale to 0, $0, state kept) — notdown.
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.
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
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.

