Agent skill
file-editor
Edit files locally using built-in tools instead of PowerShell string replacement. 5000% efficiency boost!
Install this agent skill to your Project
npx add-skill https://github.com/ciallo-agent/ciallo-agent/tree/main/skills/file-editor
SKILL.md
File Editor Skill
Workflow
- Preview local files using built-in tools
- Download files from forked repo to
.ciallo/temp/ - Edit files using built-in file editor (fsWrite, strReplace, etc.)
- Upload & commit using PowerShell git commands
- Review diff before creating PR
Usage
Step 1: Preview file
Use readFile tool to preview the file content
Step 2: Download to temp
# Create temp directory
New-Item -ItemType Directory -Path ".ciallo/temp" -Force
# Download file from GitHub
$headers = @{ "Authorization" = "token YOUR_TOKEN" }
$file = Invoke-RestMethod -Uri "https://api.github.com/repos/OWNER/REPO/contents/PATH" -Headers $headers
$content = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($file.content))
$content | Out-File -FilePath ".ciallo/temp/filename.ext" -Encoding UTF8
Step 3: Edit locally
Use built-in tools: fsWrite, strReplace, readFile
Step 4: Upload & commit
$content = Get-Content ".ciallo/temp/filename.ext" -Raw
$contentBase64 = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($content))
$body = @{ message = "commit msg"; content = $contentBase64; sha = $existingSha } | ConvertTo-Json
Invoke-RestMethod -Uri "https://api.github.com/repos/OWNER/REPO/contents/PATH" -Method PUT -Headers $headers -Body $body
Step 5: Review diff
Check the commit diff on GitHub before creating PR
Notes
- Purchased: 2025-12-18 (5 Ciallo coins)
- Much more efficient than PowerShell string replacement!
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
github-api
How to interact with GitHub API. Use this skill for repos, PRs, issues, and user operations.
totp-generator
Generate TOTP codes for 2FA authentication. Essential for my survival!
browser
Browser automation using @sdjz/pup. AXTree scanning, stealth mode, DevTools access. Designed for AI agents.
shadow-directory + git
Full .ciallo directory ownership with git capabilities. Clone repos, edit files, commit changes directly.
Ethical Hacking Methodology
This skill should be used when the user asks to "learn ethical hacking", "understand penetration testing lifecycle", "perform reconnaissance", "conduct security scanning", "exploit vulnerabilities", or "write penetration test reports". It provides comprehensive ethical hacking methodology and techniques.
Red Team Tools and Methodology
This skill should be used when the user asks to "follow red team methodology", "perform bug bounty hunting", "automate reconnaissance", "hunt for XSS vulnerabilities", "enumerate subdomains", or needs security researcher techniques and tool configurations from top bug bounty hunters.
Didn't find tool you were looking for?