Fehm with Copilot CLI
Set up Fehm in Copilot CLI. Install the skill, choose a scope, build a local graph, and query repository context.
Give Copilot CLI a repeatable way to map a repository and retrieve source-backed context. Install the Fehm CLI first using the installation guide.
Install and register
fehm install --platform copilotThis registers a personal skill at ~/.copilot/skills/fehm/SKILL.md. For a project-only setup, run from the repository root:
fehm install --project --platform copilotProject scope writes .github/skills/fehm/SKILL.md. The installer reports the path and preserves customized files.
Build the graph
Run /skills reload, then /skills info fehm to confirm discovery. Restart or reload the assistant if it has not discovered the skill.
fehm scan .The graph is stored in .fehm/graph.json. Run scans from the repository being analyzed, not the skill installation folder.
Ask with context
Use Fehm to explain the authentication flow. Cite source files and distinguish explicit relationships from inferred ones.
You can also retrieve the context in a terminal:
fehm query "authentication flow"Keep the integration current
Install the next supplied wheel, then refresh the original scope:
fehm install --platform copilot
fehm integrations --platform copilotAdd --project if that was your installation scope. Once the registry package is released, use uv tool upgrade fehm before re-registering.
Troubleshooting
Confirm the CLI is on the assistant terminal’s PATH and the skill is in the intended scope. Remote hosts need their own Fehm installation. If the skill does not appear, reload your assistant and check that skills are enabled.