Implement Anthropic Claude Skills PowerShell port into PSAI#110
Closed
Copilot wants to merge 4 commits intospike-toolkit-and-skillsfrom
Closed
Implement Anthropic Claude Skills PowerShell port into PSAI#110Copilot wants to merge 4 commits intospike-toolkit-and-skillsfrom
Copilot wants to merge 4 commits intospike-toolkit-and-skillsfrom
Conversation
Co-authored-by: dfinke <67258+dfinke@users.noreply.github.com>
Co-authored-by: dfinke <67258+dfinke@users.noreply.github.com>
Co-authored-by: dfinke <67258+dfinke@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement Anthropic Claude Skills PowerShell port into PSAI
Implement Anthropic Claude Skills PowerShell port into PSAI
Oct 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements the Anthropic Claude Skills architecture pattern for PowerShell, enabling PSAI agents to use modular, filesystem-based capabilities with progressive disclosure. This brings the power of the Anthropic Claude Skills pattern to PowerShell AI agents.
What are Skills?
Skills are reusable, filesystem-based resources that provide AI agents with domain-specific expertise through a three-level loading architecture:
nameanddescriptionfor skill discoveryThis progressive disclosure pattern ensures only relevant content occupies the context window at any given time.
New Functions
Get-PSAISkillFrontmatterScans a skills directory for SKILL.md files and extracts YAML frontmatter metadata:
Read-PSAISkillReads the complete content of a skill file on-demand:
Usage Example
Creating a skills-enabled agent:
What's Included
Core Implementation
Testing
Sample Skills
Three example skills demonstrating proper structure:
Documentation
Skill Structure
Each skill is a directory containing a SKILL.md file with YAML frontmatter:
Benefits
References
spikes/PowerShell-Skills/PSSkills.ps1Breaking Changes
None. This PR maintains full backward compatibility with existing PSAI functionality.
Files Changed
Public/Get-PSAISkillFrontmatter.ps1,Public/Read-PSAISkill.ps1__tests__/Get-PSAISkillFrontmatter.tests.ps1,__tests__/Read-PSAISkill.tests.ps1examples/Use-PSAISkills.ps1skills/public/README.md, newskills/README.md,SKILLS_IMPLEMENTATION.mdPSAI.psm1andPSAI.psd1Total: 13 files added/modified, 990 lines added
Original prompt
Fixes #109
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.