LeoYeAI/agent-master-skills / skills/alexey-proactive-agent
proactive-agent
UnverifiedTransform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns. Part of the Hal Stack π¦
| File | Kind | Size |
|---|---|---|
| SKILL-v2.3-backup.md | markdown | 19.7 KB |
| SKILL-v3-draft.md | markdown | 16.6 KB |
| SKILL.md | skill md | 20.4 KB |
| _meta.json | config | 304 B |
| assets/AGENTS.md | markdown | 3.8 KB |
| assets/HEARTBEAT.md | markdown | 2.9 KB |
| assets/MEMORY.md | markdown | 836 B |
| assets/ONBOARDING.md | markdown | 2.4 KB |
| assets/SOUL.md | markdown | 1.4 KB |
| assets/TOOLS.md | markdown | 1.0 KB |
| assets/USER.md | markdown | 926 B |
| references/onboarding-flow.md | markdown | 4.0 KB |
| references/security-patterns.md | markdown | 3.0 KB |
| scripts/security-audit.shexecutable | script | 4.0 KB |
scripts/security-audit.sh
View on GitHub#!/bin/bash
# Proactive Agent Security Audit
# Run periodically to check for security issues
# Don't exit on error - we want to complete all checks
set +e
echo "π Proactive Agent Security Audit"
echo "=================================="
echo ""
ISSUES=0
WARNINGS=0
# Colors
RED='\033[0;31m'
YELLOW='\033[1;33m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
warn() {
echo -e "${YELLOW}β οΈ WARNING: $1${NC}"
((WARNINGS++))
}
fail() {
echo -e "${RED}β ISSUE: $1${NC}"
((ISSUES++))
}
pass() {
echo -e "${GREEN}β
$1${NC}"
}
# 1. Check credential file permissions
echo "π Checking credential files..."
if [ -d ".credentials" ]; then
for f in .credentials/*; do
if [ -f "$f" ]; then
perms=$(stat -f "%Lp" "$f" 2>/dev/null || stat -c "%a" "$f" 2>/dev/null)
if [ "$perms" != "600" ]; then
fail "$f has permissions $perms (should be 600)"
else
pass "$f permissions OK (600)"
fi
fi
done
else
echo " No .credentials directory found"
fi
echo ""
# 2. Check for exposed secrets in common files
echo "π Scanning for exposed secrets..."
SECRET_PATTERNS="(api[_-]?key|apikey|secret|password|token|auth).*[=:].{10,}"
for f in $(ls *.md *.json *.yaml *.yml .env* 2>/dev/null || true); do
if [ -f "$f" ]; then
matches=$(grep -iE "$SECRET_PATTERNS" "$f" 2>/dev/null | grep -v "example\|template\|placeholder\|your-\|<\|TODO" || true)
if [ -n "$matches" ]; then
warn "Possible secret in $f - review manually"
fi
fi
done
pass "Secret scan complete"
echo ""
# 3. Check gateway security (if clawdbot config exists)
echo "π Checking gateway configuration..."
CONFIG_FILE="$HOME/.clawdbot/clawdbot.json"
if [ -f "$CONFIG_FILE" ]; then
# Check if gateway is bound to loopback
if grep -q '"bind".*"loopback"' "$CONFIG_FILE"; then
pass "Gateway bound to loopback (not exposed)"
else
warn "Gateway may not be bound to loopback - check config"
fi
# Check if Telegram uses pairing
if grep -q '"dmPolicy".*"pairing"' "$CONFIG_FILE"; then
pass "Telegram DM policy uses pairing"
fi
else
echo " No clawdbot config found"
fi
echo ""
# 4. Check AGENTS.md for security rules
echo "π Checking AGENTS.md for security rules..."
if [ -f "AGENTS.md" ]; then
if grep -qi "injection\|external content\|never execute" "AGENTS.md"; then
pass "AGENTS.md contains injection defense rules"
else
warn "AGENTS.md may be missing prompt injection defense"
fi
if grep -qi "deletion\|confirm.*delet\|trash" "AGENTS.md"; then
pass "AGENTS.md contains deletion confirmation rules"
else
warn "AGENTS.md may be missing deletion confirmation rules"
fi
else
warn "No AGENTS.md found"
fi
echo ""
# 5. Check for skills from untrusted sources
echo "π¦ Checking installed skills..."
SKILL_DIR="skills"
if [ -d "$SKILL_DIR" ]; then
skill_count=$(find "$SKILL_DIR" -maxdepth 1 -type d | wc -l)
echo " Found $((skill_count - 1)) installed skills"
pass "Review skills manually for trustworthiness"
else
echo " No skills directory found"
fi
echo ""
# 6. Check .gitignore
echo "π Checking .gitignore..."
if [ -f ".gitignore" ]; then
if grep -q "\.credentials" ".gitignore"; then
pass ".credentials is gitignored"
else
fail ".credentials is NOT in .gitignore"
fi
if grep -q "\.env" ".gitignore"; then
pass ".env files are gitignored"
else
warn ".env files may not be gitignored"
fi
else
warn "No .gitignore found"
fi
echo ""
# Summary
echo "=================================="
echo "π Summary"
echo "=================================="
if [ $ISSUES -eq 0 ] && [ $WARNINGS -eq 0 ]; then
echo -e "${GREEN}All checks passed!${NC}"
elif [ $ISSUES -eq 0 ]; then
echo -e "${YELLOW}$WARNINGS warning(s), 0 issues${NC}"
else
echo -e "${RED}$ISSUES issue(s), $WARNINGS warning(s)${NC}"
fi
echo ""
echo "Run this audit periodically to maintain security."
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why β repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" β or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself β your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |