list-apps
Skill4 starsChanged 8 days agoMITView on GitHub
Discovers apps on Copilot Managed Runtime in the active environment via `ms app list --json` and optional `ms app show --json`. Use when listing or locating apps.
In this repository38 other files it gives its agents.
- github-actions/AGENTS.mdAGENTS.md
- plugins/copilot-managed-runtime/AGENTS.mdAGENTS.md
- samples/CodeFlow/AGENTS.mdAGENTS.md
- samples/LearningHub/AGENTS.mdAGENTS.md
- samples/TaskManager/AGENTS.mdAGENTS.md
- add-azuredevopsSkill
- add-backendSkill
- add-data-sourceSkill
- add-dataverseSkill
- add-excelSkill
- add-mcscopilotSkill
- add-office365Skill
- add-office365-usersSkill
- add-onedriveSkill
- add-sharepointSkill
- add-teamsSkill
- add-workiqSkill
- create-appSkill
- delete-appSkill
- deploySkill
- devSkill
- list-connectorsSkill
- playSkill
- share-linkSkill
- shareSkill
- stateSkill
- add-data-sourceSkill
- setup-codeflowSkill
- add-data-sourceSkill
- setup-codeflowSkill
- add-data-sourceSkill
- setup-learninghubSkill
- add-data-sourceSkill
- setup-learninghubSkill
- add-data-sourceSkill
- setup-taskmanagerSkill
- add-data-sourceSkill
- setup-taskmanagerSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Ask (or infer from the user's prompt):
- Distinctive: line 49
If the list is long (>20 entries), ask the user whether they want to filter (by display-name substring) before printing.
- Very specific: line 67
After listing, if the user is currently in a project workspace with ms.config.json, cross-check the appId there against the list:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
📋 Shared Instructions: shared-instructions.md — Cross-cutting concerns.
List Apps
Lists apps the active CLI account can see in the active environment, or shows full metadata for a single app.
Workflow
- Memory Bank → 2. Verify Env → 3. Mode (list / show) → 4. Output
Step 1: Check Memory Bank
If a project memory bank exists, read it for the app's environment, if recorded, to know which environment the app was created in. Otherwise prompt the user for the environment they want to query (or accept "current default"). Note: ms app list reports apps for the signed-in account's resolved environment and has no environment-targeting flag, so the memory bank here is for context/verification — it does not scope the listing.
Step 2: Verify Env
BIN=ms
$BIN auth status # confirm the right accountThe listing scopes to the active environment (the auto-routed Developer environment unless a specific one was targeted at create time).
Step 3: Mode
Ask (or infer from the user's prompt):
- list — enumerate all apps the account can see.
- show
<app-id>— full metadata for one app (display name, GUID, environment, version, build info, share count, creation/modification dates).
Step 4: Output
List:
$BIN app list --jsonPretty-print the JSON. Default columns when summarizing for the user: displayName | appId | environmentId | version | lastModified.
If the list is long (>20 entries), ask the user whether they want to filter (by display-name substring) before printing. The CLI itself returns everything; the filtering happens in this skill.
Show:
$BIN app show --app "$APP_ID" --jsonPretty-print the full envelope. Highlight: appId, displayName, environmentId, version, lastDeployedCommit, shareCount, and any status fields surfaced by the service.
Useful as a Subroutine
Other skills (/delete-app, /share, /deploy) can invoke this skill to resolve an app GUID from a display-name substring. When invoked as a subroutine, take the search term as $ARG1 and return only the matching appId / displayName pairs — skip the interactive prompts.
Drift Check
After listing, if the user is currently in a project workspace with ms.config.json, cross-check the appId there against the list:
- Match found: confirm the local app exists and surface its current service-side state.
- No match: warn the user —
ms.config.jsonreferences an app that doesn't exist (or isn't visible) in the active environment. Likely causes: wrong target environment, the app was deleted, or auth is on the wrong tenant.
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.

