Logo Ai Coding Agents Permissions

Ai Coding Agents Permissions

Cộng đồng
vasilyu1983
ai-coding-agents-permissions

Thiết kế hệ thống phê duyệt và phân quyền cho runtime của tác nhân lập trình. Dùng khi xây dựng mô hình cho phê duyệt công cụ, chuyển đổi chế độ lập kế hoạch, prompt sandbox hoặc bàn giao quyền giữa các tác nhân làm việc.

Tổng quan

Nhà phát hànhvasilyu1983
Kho mãAI-Agents-public
Tên kỹ năngai-coding-agents-permissions
Sao
87
Bản fork
19
Tệp đi kèm
10
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ộ.

  • 10 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 vasilyu1983 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 Ai Coding Agents Permissions 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/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-coding-agents-permissions
  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/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/ai-coding-agents-permissions .claude/skills/ai-coding-agents-permissions
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 Ai Coding Agents Permissions 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 Ai Coding Agents Permissions 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 Ai Coding Agents Permissions 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.

AI Coding Agents Permissions

Use this skill to design or review the approval system for a coding-agent runtime: tool permission modes, plan-mode entry and exit, sandbox escalation, background-agent auto-deny behavior, and leader-worker permission routing.

This skill owns approval architecture for coding agents. For general hooks or callback automation, use ../agents-hooks/SKILL.md.

ASCII Flow

text
tool/action request
  |
  v
permission context
  mode + actor + sandbox + tool + path + remote/local + worker role
  |
  v
policy route
  allowlist | ask rule | deny rule | managed policy | plan-mode gate
  |
  v
decision
  allow -> execute
  ask   -> prompt owner or lead session
  deny  -> return structured refusal
  log   -> trace permission reason

Quick Reference

QuestionReadOutcome
How should permission state live in the runtime?references/permission-runtime-model.mdCentral permission context, mode handling, and host-owned rules
How do local, remote, and swarm approvals differ?references/permission-routing-local-remote-and-worker.mdApproval flows for REPL, remote sessions, and leader-worker teams
How does OpenAI Codex model split filesystem policy and request_permissions?references/openai-codex-request-permissions-and-split-policy.mdRead/write/deny entries, protected metadata, scoped permission grants, and sandbox-vs-approval separation
How does OpenAI Codex structure executable policy and network egress policy?references/openai-codex-execpolicy-and-network-proxy.mdPrefix-rule evaluation, strictest-decision wins, structured justifications, network deny precedence, and local binding controls

When To Use

  • Design a permission model for a coding-agent CLI or runtime
  • Add tool approval prompts, ask/allow/deny rules, or sandbox escalation
  • Model plan-mode entry and exit as part of the permission system
  • Route worker approvals through a lead agent or remote bridge
  • Decide what background agents should auto-deny instead of prompting for

Use Other Skills

NeedUse Instead
Hook automation and lifecycle callbacks../agents-hooks/SKILL.md
Plugin trust and install-time capability boundaries../ai-coding-agents-plugins/SKILL.md
Session resume and transcript recovery../ai-coding-agents-sessions/SKILL.md
Multi-agent worker coordination../agents-swarm-orchestration/SKILL.md
Full settings-source precedence, managed policy layering, env controls../ai-coding-agents-settings-policy/SKILL.md

Default Workflow

  1. Model permission as runtime state, not scattered booleans. Keep a single host-owned permission context with mode, rule sources, and special-case flags.
  2. Separate policy layers. Distinguish always-allow, always-deny, always-ask, org policy, and session-local overrides.
  3. Define promptability. Background workers, headless sessions, or remote viewers may need auto-deny or delegated approval instead of local dialogs.
  4. Treat plan mode as a permission transition. Entering or exiting plan mode should preserve the prior mode so the runtime can safely restore it.
  5. Route approvals by execution topology. Local REPL, remote session, and swarm worker flows should share semantics but not transport.
  6. Keep pending approvals as first-class runtime objects. Prompt IDs, tool-use IDs, cancellation state, and approval outcomes should be tracked explicitly so remote cancellation and reconnect behavior cannot desynchronize the UI.
  7. Bridge remote requests into local renderables. Remote approval prompts may reference tools unknown to the local client; normalize them through synthetic assistant messages or tool stubs so the UI can still explain what is being approved.
  8. Keep tool-specific rendering separate from host policy. A tool can explain its request, but the host decides how approval is enforced and remembered.
  9. Lint persisted rules. Detect unreachable or shadowed allow rules before they enter the active policy set.
  10. Test hostile paths. Verify denied prompts, cancelled prompts, remote unknown-tool approvals, worker poll timeouts, bypass-mode restrictions, and over-broad shell rules.

Host Rules

  • Keep one canonical permission context for the session.
  • Let tools contribute request detail, not the final allow/deny policy.
  • Background agents that cannot show UI should auto-deny or escalate to a controller instead of hanging.
  • Await automated checks before showing dialogs when coordinator workers depend on classifier or hook output.
  • Remote and worker approval flows should return structured approval results, not implicit UI side effects.
  • Permission prompts should have stable request IDs and explicit cancellation behavior.
  • Unknown remote tools should still be approvable through synthetic local rendering paths rather than becoming unrenderable errors.
  • Over-broad persisted shell rules should be sanitized or refused before they are admitted into the active permission context.
  • Record enough metadata to explain why a request was allowed, denied, or never prompted.
  • Shared policy sources and personal policy sources may need different sanitization or auto-allow behavior. Preserve source class through evaluation.

Build Order

  1. Define one canonical permission context for the host runtime.
  2. Model permission modes and rule sources explicitly.
  3. Implement request IDs, approval results, and cancellation semantics.
  4. Route approval by topology: local, remote, worker, or non-interactive.
  5. Add persistence or session-local memory for approved rules.
  6. Add sanitization and shadowed-rule detection for dangerous or over-broad rule proposals.
  7. Add source-aware handling for shared versus personal policy layers.

Core Invariants

  • The host owns allow, deny, ask, and persistence policy.
  • Tools describe requests; they do not decide approval policy.
  • Non-interactive actors must never hang waiting for a prompt they cannot answer.
  • Every prompt must end in exactly one terminal outcome: approved, denied, cancelled, or expired.
  • Plan mode is a reversible permission transition, not a separate permission system.
  • Persisted rules must be linted for reachability and dangerous breadth before activation.

Failure Modes

  • Prompt IDs that cannot be matched to cancellations or late results.
  • Remote approvals that reference unknown tools and therefore become unrenderable.
  • Persisted shell rules that silently become broader than intended.
  • Workers blocking forever while waiting for interactive approval.
  • Plan-mode exit failing to restore the preexisting permission state.
  • Lower-precedence allow rules that are unreachable because an earlier ask or deny rule shadows them.

Minimal Viable Version

  • One session-owned permission context.
  • Explicit ask, allow, and deny modes.
  • Stable IDs for prompts and approval results.
  • Auto-deny for non-interactive workers.
  • One sanitization or lint pass over persisted rules before activation.
  • Approval metadata that explains why a request was allowed or denied.

What Strong Implementations Add

  • Policy layering across org, repo, session, and ephemeral overrides.
  • Automated checks before prompting the user.
  • Synthetic local rendering for remote approval prompts.
  • Cancellation, expiry, and retry-safe bookkeeping.
  • Rule sanitization and explainability for persisted approvals.
  • Shadowed-rule detection and source-aware behavior differences for shared versus personal policy layers.

Known Traps

  • Letting multiple subsystems infer approval state independently and then diverge between the runtime, UI, and stored policy.
  • Persisting shell-prefix approvals without enough narrowing to prevent future privilege creep.
  • Treating remote approval as a rendering problem instead of a durable runtime object with expiry, cancellation, and retry semantics.
  • Recording “prompt shown” as if it were equivalent to a valid approval outcome.
  • Allowing tools or plugins to own their own approval policy and bypass central auditability.

Common Anti-Patterns

  • Storing approval mode as scattered booleans instead of one context object.
  • Letting tools persist their own approval policy.
  • Treating remote approval as a UI problem instead of a runtime-routing problem.
  • Persisting arbitrary shell prefixes without narrowing or review.
  • Assuming every stored allow rule is reachable and therefore useful.
  • Assuming a prompt that was shown always receives a valid response.

Claude Code: Permission Modes Quick Reference (2026)

Six named modes are the complete enumeration. All are set via --permission-mode <mode>, the defaultMode settings key, or permissionMode in subagent frontmatter. As of v2.1.200, default is labeled Manual in the CLI, --help, and the VS Code/JetBrains extensions, and manual/"manual" is accepted as an alias for default everywhere the mode is configured — treat default and manual as the same mode when writing tooling against it.

ModeWhat runs without promptingKey notes
default (aka Manual, v2.1.200+)Reads onlyStarting mode; Shift+Tab cycles default → acceptEdits → plan
acceptEditsReads, file edits, common filesystem commandsAuto-approves edits in working directory only; never auto-approves protected-path writes
planReads onlyResearch without writing; exit via Shift+Tab or plan approval
autoEverything except protected-path writes, with background classifier checksv2.1.83+ required; protected-path writes route to the classifier, not auto-approval; see below
dontAskOnly pre-approved tools (allow-list only)Named headless auto-deny mode; for CI/locked environments; never appears in Shift+Tab cycle; protected-path writes are denied outright
bypassPermissionsEverything, no classifier, including protected-path writesIsolated containers/VMs only; never appears in default cycle; explicit ask rules and rm -rf / / rm -rf ~ still prompt as a circuit breaker

Shift+Tab cycle: default → acceptEdits → plan. Optional modes slot in after plan: bypassPermissions first (if started with --permission-mode bypassPermissions or --allow-dangerously-skip-permissions), then auto last (if eligible). dontAsk never appears in the cycle.

Protected paths

A small set of paths (.git, .config/git, .vscode, .idea, .husky, .cargo, .devcontainer, .yarn, .mvn, .claude except .claude/worktrees, plus files like .gitconfig, shell rc files, and package-manager rc files) are never auto-approved in any mode except bypassPermissions, and the check runs before permissions.allow rules are evaluated — an Edit(.claude/**) allow rule does not change this. This is the pattern to copy for any runtime: repository metadata and the agent's own config directory should have a hard-coded carveout that ordinary allow rules cannot reach, independent of mode.

auto mode — model-classifier approval system:

  • A server-configured classifier model (independent of the session's /model selection) evaluates each action before execution; do not hard-pin a specific classifier model name in downstream tooling — it can change without a version bump to the mode's behavior.
  • Two-stage: fast single-token filter, then chain-of-thought on flagged actions
  • Classifier sees user messages, tool calls, and CLAUDE.md content; tool results are stripped and separately scanned for injected instructions
  • Decision order: allow/deny rules resolve first (except protected-path writes, which always route to the classifier) → read-only/in-directory edits auto-approve → everything else hits the classifier
  • On entering auto, broad allow rules (Bash(*), PowerShell(*), wildcarded interpreters, package-manager run commands, Agent allow rules) are dropped and restored on exit; narrow rules like Bash(npm test) carry over
  • If the classifier blocks 3 consecutive times or 20 total times, auto mode pauses and prompting resumes; in non-interactive (-p) mode there is no user to prompt, so the run aborts instead
  • Eligibility (plan tier, minimum model, provider) is gated per-provider and changes over time — verify current gating in /en/permission-modes at ship time rather than trusting a cached list
  • Trap: defaultMode: "auto" set in .claude/settings.json or .claude/settings.local.json is silently ignored (v2.1.142+) so a repository cannot grant itself auto mode; it must be set in user (~/.claude/settings.json) or managed settings
  • permissionMode: auto in subagent frontmatter is ignored when the parent is in auto mode — the parent's auto mode applies to all subagent actions, checked at three points: before spawn (task description), during execution (each action), and after completion (a full-history review that can prepend a security warning to the result, v2.1.178+)
  • Plugin subagents cannot set permissionMode
  • disableAutoMode: "disable" in managed settings removes auto from the Shift+Tab cycle and rejects --permission-mode auto
  • Source: code.claude.com/docs/en/permission-modes and anthropic.com/engineering/claude-code-auto-mode

dontAsk mode — named headless auto-deny: every tool call that would normally prompt is auto-denied; only allow-rule-matched tools and read-only Bash commands execute, and an MCP tool marked requiresUserInteraction is denied even when an allow rule matches it (its consent card needs an answer this mode never collects). This is the correct mode for CI scripts that must not hang waiting for approval.

Background subagents and the "auto-deny vs. escalate" judgment call: prior to v2.1.186, a background subagent that hit a tool call requiring approval was auto-denied outright, because the main session had no way to interrupt it — subagents got stuck in silent denial loops. Since v2.1.186, the denied-by-default call instead surfaces as a prompt in the parent/main session, labeled with the subagent's name; the parent can approve or deny that single call without stopping the subagent. Treat this as the reference pattern for this skill's own "promptability" principle: auto-deny is the correct answer only when no controller exists to escalate to. When a background or worker context has any reachable parent/leader session, route the pending approval there as a first-class object (see Permission Runtime Model) rather than defaulting to silent denial.

Inheritance rules: a parent session in auto overrides any permissionMode set in subagent frontmatter. Plugin-shipped agents are additionally restricted: hooks, mcpServers, and permissionMode fields in plugin agent definitions are silently ignored by the runtime.

Rule syntax an expert checks first

  • Evaluation order is fixed, not precedence-weighted: deny, then ask, then allow — first match wins regardless of specificity. A broad Bash(aws *) deny still blocks a narrower Bash(aws s3 ls) allow; there is no allowlist-exception mechanism inside a deny rule.
  • Parameter-matching rules (Tool(param:value), v2.1.178+) let deny/ask rules gate on any top-level scalar input field, e.g. Agent(model:opus) or Agent(isolation:worktree) or Bash(run_in_background:true). This is distinct from — and composes with — the older Agent(AgentName) subagent-identity rule. Fields a tool already canonicalizes (command for Bash, file_path for Read/Edit/Write) are excluded from this path and must use the tool's own specifier syntax; a Bash(command:rm *) rule is silently ignored with a startup warning because it would be bypassable by a compound command.
  • Path-anchor bugs are the most common review finding: //path is filesystem-absolute; /path is relative to the settings file that defines the rule, not the project root or the CLI's cwd. A Read(/secrets/**) deny written into ~/.claude/settings.json blocks ~/.claude/secrets/**, not a project's secrets/ directory — reviewers should flag every single-leading-slash path rule in user settings as a likely mistake.
  • Symlinks split allow/deny asymmetrically: allow rules require both the symlink path and its resolved target to match (otherwise it falls back to prompting); deny rules fire if either the symlink path or the target matches. A symlink into an allowed directory pointing outside it is not auto-approved by that fact alone.
  • Hooks are best-effort, not enforcement: a PreToolUse hook's if field scopes it with permission-rule syntax (e.g. if: "Bash(rm *)"), but the filter fails open — if the Bash command can't be parsed, the hook runs anyway. Deny/ask permission rules are evaluated independently of what a hook returns, so a hook cannot be the sole enforcement point for a hard boundary; it can add checks, not replace deny/ask rules. See ../agents-hooks/SKILL.md for hook event and matcher design.

Settings precedence, briefly (permission-audit nuance only)

Full precedence chain — managed settings > CLI arguments > local project (.claude/settings.local.json) > shared project (.claude/settings.json) > user (~/.claude/settings.json) — is ../ai-coding-agents-settings-policy/SKILL.md's territory; use it for full source layering and managed-policy design.

The one nuance load-bearing for a permission audit: that precedence order governs plain settings (e.g. spinnerTipsEnabled), but permission rules do not simply follow "higher scope wins." A deny rule from any scope blocks the action regardless of scope precedence — a user-level deny blocks a project-level allow and a project-level deny blocks a user-level allow, because deny is evaluated before allow at every scope and rules merge across scopes rather than one file overriding another wholesale. Do not assume "project settings win over user settings" applies to allow-vs-deny conflicts — check which rule is a deny before applying the file-precedence mental model.

OpenAI Codex: AskForApproval Policy Enum

Source: live codex-rs/protocol/src/protocol.rs (main branch, re-verified July 2026) — re-check before shipping, since Codex's config surface has changed shape twice within a few months.

TOML key: approval_policy (type Option<AskForApproval>, in the top-level [config] section of ~/.codex/config.toml)

VariantTOML valueBehavior
UnlessTrusted"untrusted"Auto-approves only commands is_safe_command() judges "known safe" and read-only; asks for everything else
OnRequest"on-request" (also accepts legacy "on-failure" as a deserialization alias)Default. The model decides when to ask for approval
Granular(GranularApprovalConfig)"granular" + sub-keysFine-grained per-category control: sandbox_approval, rules (execpolicy prompt rules), skill_approval, request_permissions, mcp_elicitations
Never"never"Never submits commands for approval; failures returned immediately to the model

Correction from an earlier snapshot of this skill: a prior pinned-commit source (2026-05-22) showed UnlessTrusted serializing as "unless-trusted" and a separate deprecated OnFailure variant ("all commands auto-approved, rely on the sandbox"). The live source now serializes UnlessTrusted as "untrusted", and OnFailure is gone as a distinct variant — "on-failure" is now only a backward-compatible TOML alias that deserializes into OnRequest, so a config still carrying approval_policy = "on-failure" gets OnRequest behavior, not the old always-auto-approve behavior. Treat this as a general lesson, not just a one-time fix: pinned-commit citations for a fast-moving CLI's config surface expire faster than the rest of this skill; re-fetch the live source (or current config-reference docs) before trusting an enum-value table, and prefer on-request/never explicitly over relying on the on-failure alias.

GranularApprovalConfig lets operators selectively enable or suppress approval prompts per action class, allowing a policy like "always ask for MCP tool calls, never ask for skill-script approval."

Design rule: treat AskForApproval as the canonical approval-mode type when implementing Codex-compatible runtimes — do not invent a parallel enum. Do not write new code that branches on a standalone on-failure semantic; it is an alias, not a policy.

Cross-Platform Patterns (Goose)

Goose exposes two approval surfaces the current skill does not model: identity-aware approvals via an OIDC proxy, and ACP-bridged approvals where approvals must round-trip across a stdio boundary to a delegating agent.

Identity-aware approvals (OIDC proxy)

Goose ships an oidc-proxy/ crate that bridges agent calls to external providers through an OIDC-authenticated proxy. Approvals tied to external side-effects (deploy, merge, paid API use) can be gated on the authenticated identity, not just on "the user accepted a local prompt."

  • Pattern: treat user identity as a permission-context field alongside mode and rule sources. Certain rule classes (destructive-on-prod, financial, third-party) can require fresh auth proof, not just a prior local allow.
  • Anti-pattern: assuming the OS user running the CLI is the authorization principal for remote/side-effecting approvals. Shared dev machines, CI agents, and teammate-session handoff all break that assumption.
  • Recipe: add an optional auth_proof field to the permission context; rules can declare require_fresh_auth: true. For those, every N minutes or per-call, the host demands re-authentication via OIDC proxy. Record the identity with the approval outcome for audit.

ACP-bridged approvals

When a session delegates work to an external ACP agent (see ai-coding-agents-remote-runtime agent-delegating mode, and ai-coding-agents-provider-runtime agent-as-provider), tool approvals requested by the delegated agent must round-trip back to the orchestrator's local UI. The skill's current worker-routing model assumes same-process workers.

  • Pattern: approvals raised by an ACP-delegated agent travel back through the ACP control channel, are materialized as a pending approval object in the orchestrator, rendered in the orchestrator's UI, resolved locally, and the outcome is sent back through ACP to the delegated agent. Stable request IDs are required end-to-end.
  • Anti-pattern: auto-approving everything from a "trusted" delegated agent. ACP does not bound the delegated agent's tool use; without round-trip approval, the orchestrator loses audit and policy.
  • Recipe: add a third routing leg in the permission-routing reference: orchestrator ↔ ACP-delegated agent. The delegated agent's approval requests are first-class runtime objects in the orchestrator's permission context, with stable IDs, cancellation support, and cross-process cancellation on session death.

Navigation

References

Data

  • data/sources.json — Primary documentation and source references for approval-system design

Related Skills

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • The patterns here are grounded in a local April 2026 claude_code source snapshot. Verify current permission field names, event names, and remote control schemas before shipping.
  • Approval UX and sandbox semantics are runtime-specific. Preserve the architecture patterns, but re-check exact prompt behavior for the target client.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

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 Ai Coding Agents Permissions làm được gì?

Thiết kế hệ thống phê duyệt và phân quyền cho runtime của tác nhân lập trình. Dùng khi xây dựng mô hình cho phê duyệt công cụ, chuyển đổi chế độ lập kế hoạch, prompt sandbox hoặc bàn giao quyền giữa các tác nhân làm việc.

Vì sao nên dùng Ai Coding Agents Permissions 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. Ai Coding Agents Permissions 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 Ai Coding Agents Permissions trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-coding-agents-permissions. 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 Ai Coding Agents Permissions?

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 Ai Coding Agents Permissions 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 Ai Coding Agents Permissions 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 Ai Coding Agents Permissions có miễn phí không?

Có. Kỹ năng này được vasilyu1983 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 👇