Skip to content
Back to skills

Log Analysis Skill

ASecurity

Execute PowerShell commands on Windows systems with security constraints

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 9, 2026
documentationpythonshellsecuritydocumentation

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill log-analysis-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Log Analysis Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Log Analysis Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-log-analysis-skill/badge)](https://www.skillsdirectory.com/skills/majiayu000-log-analysis-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: powershell-skill
description: Execute PowerShell commands on Windows systems with security constraints
version: 1.0.0
author: Agent Skills Template
---

## Purpose
This skill allows the agent to execute safe PowerShell commands for:
- System information gathering (Get-ComputerInfo, Get-Process)
- File system queries (Get-ChildItem, Test-Path)
- Date/time operations (Get-Date)
- Service status checks (Get-Service)

## When to Use
- User requests system information
- Need to check file existence or directory contents
- Querying running processes or services
- Getting current date, time, or location

## Instructions
1. **Validate Intent**: Ensure the user's request is safe and appropriate
2. **Review Security**: Check security.md for constraints before execution
3. **Use Allowed Cmdlets**: Only use cmdlets from the whitelist
4. **Explain Actions**: Tell the user what command you're running and why
5. **Handle Errors**: If execution fails, explain the error clearly

## Parameters
- `command` (string, required): The PowerShell command to execute
- `timeout` (int, optional): Maximum execution time in seconds (default: 10)

## Example Usage
```python
from skills.powershell import execute

# Get current date
result = execute('Get-Date')
if result['success']:
    print(result['output'])

# List directory contents
result = execute('Get-ChildItem -Path C:\\Users')
```

## Additional Context
- See reference.md for PowerShell cmdlet documentation
- See security.md for security boundaries and constraints

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.