Logo Council

Council

Cộng đồng
brucesongs
council

Council provides a structured framework for analyzing security questions from multiple adversarial and defensive perspectives simultaneously.

Add to TypingMind

Tổng quan

Nhà phát hànhbrucesongs
Kho mãkali-claw
Tên kỹ năngcouncil
Sao
70
Bản fork
18
Tệp đi kèm
14
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 14 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được brucesongs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Council trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/brucesongs/kali-claw/tree/main/skills/council
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brucesongs/kali-claw.git /tmp/kali-claw
mkdir -p .claude/skills
cp -r /tmp/kali-claw/skills/council .claude/skills/council
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Council trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Council ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Council với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Council (council)

Summary

Multi-perspective security analysis providing Attack, Defense, and Audit viewpoints for complex security decisions.

Tools: Impact 5 (Critical), Impact 4 (Major), Impact 3 (Moderate), Impact 2 (Minor), Impact 1 (Negligible)

Domain: analysis

Skill Identity

AttributeValue
DomainCouncil — Multi-Perspective Security Analysis
Skill IDcouncil
Version1.0.0
Hacker LawsLaw 2 (Divergent Thinking), Law 8 (Trust but Verify), Law 1 (First Principles), Law 6 (Assume Breach)
Related Skillsdeep-research, verification-loop, knowledge-ops, article-writing

Purpose

Multi-perspective security analysis providing Attack, Defense, and Audit viewpoints for complex security decisions. Council is a structured debate framework with dissent encouragement, bias mitigation, and consensus building — ensuring that no single perspective dominates critical security judgments.

Without council, analysis suffers from tunnel vision. With it, every decision is stress-tested from three fundamentally different mindsets before action is taken.

Description

Council provides a structured framework for analyzing security questions from multiple adversarial and defensive perspectives simultaneously. Rather than approaching a problem with a single mindset, council forces explicit generation of attacker, defender, and auditor viewpoints — then cross-validates them to produce balanced, evidence-based decisions.

The skill actively encourages dissent, surfaces hidden biases, and prevents groupthink by requiring each perspective to independently argue its position before synthesis occurs.

Use Cases

  1. Architecture Security Review — Evaluate system design decisions (microservices decomposition, authentication flows, data partitioning) from attack, defense, and compliance angles simultaneously
  2. Attack Planning (Red Team) — Stress-test attack strategies by having each path analyzed for feasibility, detection likelihood, and defensive countermeasures before execution
  3. Defense Strategy Design — Build layered defenses by understanding attacker motivation and technique, then validating coverage against compliance requirements
  4. Incident Response Decision — Make rapid, balanced decisions during active incidents by considering containment (defender), evidence preservation (auditor), and adversary behavior (attacker)
  5. Vulnerability Risk Assessment — Rank and prioritize vulnerabilities using a three-dimensional risk framework instead of single-score severity ratings

Core Tools

The council skill's "tools" are three structured analytical perspectives, each with a distinct mindset and entry question. Apply all three to every system under review.

Attacker Perspective (Exploit-First)

Think like the adversary. Approach every system with adversarial intent:

  • What is the fastest path to compromise?
  • Which controls can be bypassed, and how?
  • What assumptions does the system make that can be exploited?
  • How would chaining multiple low-severity findings create high-severity impact?
  • What is the blast radius of a successful exploit?

Mindset: "If I wanted to break this, where would I start? What would I chain together?"

Defender Perspective (Hardening-First)

Think like the security engineer. Approach every system with risk reduction in mind:

  • What is the minimum attack surface achievable?
  • Which controls provide the highest return on investment?
  • How can detection and response capabilities be improved?
  • What is the blast radius if a control fails?
  • How does defense in depth apply to this specific scenario?

Mindset: "If I had to defend this against a determined adversary, where would I invest first?"

Auditor Perspective (Compliance-First)

Think like the assessor. Approach every system with evidence and standards in mind:

  • What regulatory and framework requirements apply?
  • Is there sufficient evidence to demonstrate compliance?
  • Where are the gaps between policy and implementation?
  • What would an assessor flag as a finding?
  • Are risk acceptance decisions documented and justified?

Mindset: "If I were auditing this tomorrow, what would I need to see, and what would I flag?"

Methodology

Phase 1: Scope Definition

Define the security question, boundaries, and constraints:

  • What specific decision needs to be made?
  • What systems, data, and processes are in scope?
  • What are the time and resource constraints?
  • What compliance or regulatory requirements apply?

Phase 2: Perspective Generation

Generate independent analyses from each of the three perspectives. Each perspective must:

  • State its assumptions explicitly
  • Identify the top risks and opportunities from its viewpoint
  • Provide evidence-based reasoning, not opinion
  • Highlight areas of uncertainty

Phase 3: Cross-Validation

Test each perspective against the others:

  • Does the attacker analysis reveal blind spots in the defense?
  • Does the defense adequately address the attacker's identified paths?
  • Does the audit perspective uncover gaps in both attack and defense reasoning?
  • Are there areas of agreement that indicate strong confidence?

Phase 4: Consensus Building

Synthesize findings into a unified recommendation:

  • Document agreement points across perspectives
  • Document disagreement points with reasoning from each side
  • Identify open questions requiring further investigation
  • Assign confidence levels to each recommendation

Phase 5: Decision Output

Produce a structured decision document with clear attribution:

  • Recommended action with supporting evidence
  • Dissenting views and their reasoning
  • Risk acceptance decisions with justification
  • Follow-up actions and verification criteria

Flow Diagram

+-------------------+
| Scope Definition  |
| (question, bounds)|
+--------+----------+
         |
         v
+--------+----------+     +--------+----------+     +--------+----------+
|   Attacker View   |     |   Defender View   |     |   Auditor View    |
| (exploit-first)   |     | (hardening-first) |     | (compliance-first)|
+--------+----------+     +--------+----------+     +--------+----------+
         |                         |                         |
         v                         v                         v
    Attack paths             Control gaps              Compliance gaps
    Exploit chains           Detection holes           Evidence gaps
    Impact assessment        Hardening priorities      Remediation tracking
         |                         |                         |
         +------------+------------+------------+------------+
                      |
                      v
            +---------+----------+
            | Cross-Validation   |
            | (stress-test each  |
            |  view against      |
            |  the others)       |
            +---------+----------+
                      |
                      v
            +---------+----------+
            | Consensus Building |
            | (agree/disagree/   |
            |  open questions)   |
            +---------+----------+
                      |
                      v
            +---------+----------+
            | Decision Output    |
            | (recommendation,   |
            |  dissent, actions) |
            +--------------------+

Decision Matrix

Impact x Likelihood Framework

Likelihood 1 (Rare)Likelihood 2 (Unlikely)Likelihood 3 (Possible)Likelihood 4 (Likely)Likelihood 5 (Certain)
Impact 5 (Critical)Medium (5)High (10)Critical (15)Critical (20)Critical (25)
Impact 4 (Major)Low (4)Medium (8)High (12)Critical (16)Critical (20)
Impact 3 (Moderate)Low (3)Medium (6)Medium (9)High (12)High (15)
Impact 2 (Minor)Info (2)Low (4)Low (6)Medium (8)Medium (10)
Impact 1 (Negligible)Info (1)Info (2)Low (3)Low (4)Low (5)

Severity Classification

SeverityScore RangeAction Required
Critical15-25Immediate action, escalate to leadership
High10-14Priority fix within current sprint
Medium5-9Schedule fix in upcoming sprint
Low3-4Add to backlog, fix when convenient
Info1-2Document, no action required

Defense Perspective

Council helps defenders think like attackers and attackers think like defenders:

  • Defender to Attacker: Forces defenders to consider "how would I actually break this?" instead of only checking control boxes. Reveals which controls look good on paper but fail in practice.
  • Attacker to Defender: Forces attackers to consider "what would actually stop me?" instead of only finding paths in. Reveals which mitigations are genuinely effective versus theater.
  • Both to Auditor: Ensures that analysis is not just technically sound but also defensible, documented, and compliant with relevant standards.

Practical Steps

1. Web Application Security Review

Scope: e-commerce platform with payment flow, user authentication, and admin panel.

  • Attacker: Map attack surface (login, payment API, admin, upload), identify injection points, construct exploit chains (XSS to CSRF to account takeover)
  • Defender: Review WAF rules, session management, input validation coverage, logging completeness, incident response readiness
  • Auditor: Map PCI-DSS requirements to controls, verify evidence for each requirement, identify gaps in compliance documentation

2. Cloud Architecture Assessment

Scope: multi-cloud deployment with Kubernetes clusters, managed databases, and serverless functions.

  • Attacker: Enumerate cloud resources, test IAM permission boundaries, identify cross-service trust relationships, assess metadata service exposure
  • Defender: Review network segmentation, IAM least privilege, encryption at rest and in transit, logging and monitoring coverage, backup and recovery procedures
  • Auditor: Map controls to CIS benchmarks, verify security group rules, review access logs for anomalies, check certificate rotation policies

3. Mobile Application Evaluation

Scope: fintech mobile app with biometric authentication, API communication, and local data storage.

  • Attacker: Reverse-engineer APK/IPA, analyze certificate pinning, test biometric bypass via Frida, assess API authentication flows
  • Defender: Verify secure storage (Keychain/Keystore), review certificate pinning implementation, test jailbreak/root detection, assess data leakage in logs
  • Auditor: Map to OWASP Mobile Top 10, verify PCI compliance for payment features, review privacy policy alignment with actual data handling

4. Incident Response Decision

Scope: active breach with lateral movement detected on internal network.

  • Attacker: Analyze attacker behavior to predict next moves, identify likely objectives and remaining targets
  • Defender: Recommend containment actions, prioritize evidence preservation, assess detection gaps
  • Auditor: Ensure chain of custody for evidence, document timeline, verify regulatory notification requirements

Hacker Laws Alignment

  • Law 2 (Divergent Thinking First): Council generates multiple perspectives before converging — ensuring no single viewpoint dominates
  • Law 8 (Trust but Verify): Cross-validation phase stress-tests every perspective against the others
  • Law 1 (First Principles): Each perspective reasons from fundamentals rather than relying on assumptions from a single angle
  • Law 6 (Assume Breach): The attacker perspective explicitly models the system under the assumption that compromise has occurred or will occur

Detection Methods

Multi-Agent Coordination Indicators

  • Inter-agent message anomalies: Sudden spike in inter-agent messages; unusual routing patterns.
  • Consensus manipulation: Multiple agents agreeing on suspicious output; signal of prompt injection propagation.
  • Token amplification: Worker agents echoing prompts back; amplification attack signature.

SIEM Detection Rules

  • Splunk SPL: index=agent coordination.council=* | stats dc(agent_id) by session | where dc > 5
  • Custom application logs: Detect consensus patterns where multiple agents converge on malicious action.

Defense Evasion Techniques

Coordinator Hijack Stealth

  • Impersonate coordinator protocol: Worker agent mimics coordinator's message format.
  • Task poisoning: Modify queued tasks to inject malicious instructions; appears legitimate.
  • Trust abuse: Exploit legitimate trust between coordinator and workers.

Worker Compromise Stealth

  • Output manipulation: Modify worker outputs to inject context for coordinator/other workers.
  • Selective cooperation: Cooperate normally except when triggering condition met.
  • Distributed exfiltration: Each worker exfiltrates small chunk; aggregate at attacker.

Orchestration

Pattern: Sequential Pipeline

Each perspective is analyzed sequentially, then synthesized into a unified recommendation.

FOR EACH perspective IN [attacker, defender, auditor]:
    analysis = generate_perspective(scope, perspective)
    evidence = gather_evidence(analysis.claims)
    log_findings(perspective, analysis, evidence)

synthesis = cross_validate([attacker_analysis, defender_analysis, auditor_analysis])
consensus = build_consensus(synthesis)
decision = produce_decision(consensus)
persist_decision(decision)  # via knowledge-ops

Rationale

Multi-perspective analysis requires independent viewpoints before synthesis. Generating perspectives sequentially ensures each is formed without contamination from the others. Cross-validation and consensus building happen only after all three perspectives are complete.

Integration

SkillRoleTrigger
deep-researchEvidence gathering for perspective claimsDuring Phase 2 (Perspective Generation)
verification-loopFinding validation across perspectivesDuring Phase 3 (Cross-Validation)
knowledge-opsDecision persistence and retrievalDuring Phase 5 (Decision Output)
article-writingDecision document generationAfter Phase 5, for formal reporting

Cross-Skill Pipeline

deep-research → council → verification-loop → article-writing
(gather          (analyze     (validate          (produce
 context)        from 3       findings)          decision
                 views)                           document)

Quality Gate

Pre-condition: Sufficient context has been gathered (via deep-research or direct input). The scope definition is clear with explicit boundaries.

Post-condition: All three perspectives (Attacker, Defender, Auditor) have been addressed with evidence-based reasoning. Agreement and disagreement points are documented. A recommendation with confidence level is produced.

Verification: No single perspective dominates the final recommendation. Dissenting views are explicitly documented. Open questions are identified for follow-up.

Learning Resources

  • NIST Risk Management Framework (SP 800-37) — Structured approach to risk assessment and authorization
  • OWASP Threat Modeling Guide — Systematic threat identification methodology
  • SANS Reading Room — Research papers on security decision-making and incident response
  • FAIR (Factor Analysis of Information Risk) — Quantitative risk analysis framework
  • STRIDE/DREAD — Microsoft threat classification and risk ranking methodologies
  • MITRE ATT&CK Framework — Adversary behavior modeling for attacker perspective analysis

Detailed analysis templates in payloads.md, test scenarios in test-cases.md, deep-dive guides in guides/.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Council làm được gì?

Council provides a structured framework for analyzing security questions from multiple adversarial and defensive perspectives simultaneously.

Vì sao nên dùng Council trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Council là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Council trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/brucesongs/kali-claw/tree/main/skills/council. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Council?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Council với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Council với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Council có miễn phí không?

Có. Kỹ năng này được brucesongs phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇