Skip to content

microsoft/apm-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

APM Action

A GitHub Action that installs APM (Agent Package Manager) and deploys agent primitives (instructions, prompts, skills, agents) into your CI workflows. One line. Zero config.

Usage

- uses: microsoft/apm-action@v1

This installs the APM CLI, reads your apm.yml, and runs apm install.

With options

- uses: microsoft/apm-action@v1
  with:
    compile: 'true'                    # generate AGENTS.md after install
    apm-version: '0.7.0'              # pin a specific APM version
    working-directory: './my-project'  # custom working directory

Isolated mode (inline dependencies, no apm.yml needed)

- uses: microsoft/apm-action@v1
  with:
    isolated: 'true'
    dependencies: |
      - microsoft/apm-sample-package

Inputs

Input Required Default Description
working-directory No . Working directory for execution
apm-version No latest APM version to install
script No APM script to run after install
dependencies No YAML array of extra dependencies to install (additive to apm.yml)
isolated No false Ignore apm.yml and clear pre-existing primitive dirs (instructions/, agents/, skills/, prompts/) under .github/ — install only inline dependencies
compile No false Run apm compile after install to generate AGENTS.md

Outputs

Output Description
success Whether the action succeeded (true/false)
primitives-path Path where agent primitives were deployed (.github)

Third-Party Dependencies

This action bundles the following open-source packages (see dist/licenses.txt for full license texts):

Contributing

See CONTRIBUTING.md for details.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

GitHub Action for Agent Package Manager

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors