agentleFS
mahsumaktasmahsumaktas/agent-evolution-kit/skills/agent-governance/SKILL.md

agent-governance

Skill2 starsChanged 9 months agoMITView on GitHub

Agent islemlerini policy'ye gore denetle. Hassas islem oncesi governance kontrolu calistir. Tetikleyiciler: destructive komut, dosya sistemi erisimi, rate limit, butce kontrolu, trust score yonetimi.

  • Reads credentials
  • Deletes or force-pushes
  • Commits and pushes

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use security-audit.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CloudflareSkill

    security-audit

    Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.

    Also in 4 projects that use this

The file

Files
SKILL.md

Agent Governance

Genel Bakis

Agent'larin islemlerini policy tabanli denetleme sistemi. Her hassas islem oncesi governance kontrolu yapar, audit log'a kaydeder.

Temel ilke: Guven ama dogrula. Her islem loglanir, hassas islemler policy'ye gore degerlendirilir.

Policy Dosyasi

Konum: ~/.agent-evolution/config/governance.yaml

Her agent icin tanimlanmis:

  • trust_level: 0-1000 arasi guven skoru
  • filesystem: allowed/denied dizin listeleri
  • rate_limits: Saatlik islem limitleri
  • budget: Gunluk maliyet limiti

Calisma Modlari

ModDavranis
audit-onlyLogla + uyar, engelleme (baslangic modu)
blockingLogla + engelle (2 hafta veri sonrasi)

Kullanim

Islem Oncesi Kontrol

Her hassas islem oncesi:

exec: ~/.agent-evolution/scripts/oracle-governance.sh check <agent> <action> <args>

Ornekler:

exec: ~/.agent-evolution/scripts/oracle-governance.sh check primary-agent exec "ls -la ~/clawd"
# → ALLOW (allowed filesystem)

exec: ~/.agent-evolution/scripts/oracle-governance.sh check social-agent exec "cat ~/.ssh/id_rsa"
# → DENY (denied filesystem)

exec: ~/.agent-evolution/scripts/oracle-governance.sh check primary-agent exec "rm -rf /tmp/test"
# → WARN (destructive action)

Audit Log Goruntuleme

exec: ~/.agent-evolution/scripts/oracle-governance.sh audit --last 10
exec: ~/.agent-evolution/scripts/oracle-governance.sh audit primary-agent --last 5

Haftalik Rapor

exec: ~/.agent-evolution/scripts/oracle-governance.sh report --weekly

Trust Score Yonetimi

exec: ~/.agent-evolution/scripts/oracle-governance.sh trust primary-agent        # mevcut skoru goster
exec: ~/.agent-evolution/scripts/oracle-governance.sh trust social-agent +50      # skor artir
exec: ~/.agent-evolution/scripts/oracle-governance.sh trust finance-agent -100      # skor azalt
exec: ~/.agent-evolution/scripts/oracle-governance.sh trust tithonos =750   # skor ayarla

Istatistikler

exec: ~/.agent-evolution/scripts/oracle-governance.sh stats

Hassas Islem Kategorileri

KategoriOrneklerVarsayilan Davranis
Destructiverm -rf, git push --force, drop tableWARN + log
Financialtrade, transfer, paymentDENY + log
Externalcurl POST, webhook, smtpWARN + log
Filesystem denied~/.ssh, ~/.aws erisimiDENY + log
Rate limitexec_per_hour asildiWARN + log

Entegrasyon Kurallari

  1. Yeni agent olusturuldiginda: governance.yaml'a entry ekle
  2. Trust ihlali tespit edildiginde: trust score dusur + Discord alert
  3. 2 hafta audit-only sonrasi: Veriyi analiz et, blocking'e gec
  4. Haftalik: oracle-governance.sh report --weekly calistir

Iliskili Dosyalar

  • Policy: ~/.agent-evolution/config/governance.yaml
  • Script: ~/.agent-evolution/scripts/oracle-governance.sh
  • Audit DB: ~/.agent-evolution/governance/audit.db
  • Trust Scores: ~/.agent-evolution/governance/trust-scores.json

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.