AS

agentcloak/skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

20 stars 质量 56 趋势 14

InCountry 代理技能 AgentCloak — PII 隐匿和边界配置管理

概览

InCountry AgentCloak 的 AI 代理技能:通过 MCP 服务器进行运行时个人信息隐匿/解隐,以及通过 Portal API 进行环境配置。 现在让代理隐蔽或解除隐藏一个值。不会写代码或修改代码。代理直接调用MCP服务器并返回结果。 请求代理为现有应用添加个人身份保护(PII)。代理读取源文件,向MCP服务器添加隐形调用,并更新输出以显示隐形值而非原始值。 应用程序在代理接触之前对AgentCloak一无所知。 代理会对你现有的代码添加和添加——没有SDK,也没有新的依赖,只是对MCP服务器进行一次取用。 提示你选择安装哪些代理。始终包含OpenCode、Cursor、Cline、Codex、Claude Code、GitHub Copilot等。 安装完成后,任何能读取已安装目录的代理都可以使用该技能。 该技能涵盖三个交互层面:

概述(AI 翻译)

InCountry AgentCloak 的 AI 代理技能:通过 MCP 服务器进行运行时个人信息隐匿/解隐,以及通过 Portal API 进行环境配置。

两种操作模式

模式1 — 按需隐形

现在让代理隐蔽或解除隐藏一个值。不会写代码或修改代码。代理直接调用MCP服务器并返回结果。

模式2 — 代码集成

请求代理为现有应用添加个人身份保护(PII)。代理读取源文件,向MCP服务器添加隐形调用,并更新输出以显示隐形值而非原始值。

应用程序在代理接触之前对AgentCloak一无所知。

它如何融入你的产品

代理会给你现有代码添加一个函数和一个调用——没有SDK,也没有新的依赖,只有一个fetch到MCP服务器。


安装技能

推荐 — Vercel 技能 CLI(交互式,检测 55+ 代理):

提示你选择安装哪些代理。始终包含OpenCode、Cursor、Cline、Codex、Claude Code、GitHub Copilot等。

对于脚本和CI/CD(非互动,无提示):

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

AgentCloak Data Cloak Skill

AI agent skill for InCountry AgentCloak: runtime PII cloaking/uncloaking via MCP server and environment configuration via Portal API.

Two modes of operation

Mode 1 — On-demand cloaking

Ask the agent to cloak or uncloak a value right now. No code is written or modified. The agent issues a direct call to the MCP server and returns the result.

Cloak the name "Alice Johnson"
Uncloak  with id 

Mode 2 — Code integration

Ask the agent to add PII protection to an existing application. The agent reads the source file, adds a cloak call to the MCP server, and updates the output to display cloaked values instead of originals.

Add PII protection to acme-crm.ts using the AgentCloak MCP server.
Cloak the full names of all customers before printing them.

The application has no knowledge of AgentCloak before the agent touches it.

How it fits into your product

sequenceDiagram
    actor Client
    participant App as Your App
    participant MCP as AgentCloakMCP Server

    rect rgba(80, 140, 220, 0.08)
      Note over Client,MCP: CLOAK — anonymize PII before sending to client
      Client->>App: GET /api/customers
      App->>App: Load records from DB
      note over App: Alice JohnsonBob Smith · Carol White
      App->>MCP: tools/call  cloak"Alice Johnson\nBob Smith\nCarol White"
      note over MCP: Replaces each namewith synthetic value
      MCP-->>App: result: "Kenji Tanaka\nMaria Garcia\nLuca Ferrari"id: abc-123
      App->>Client: Anonymized customer list
      note over Client: Kenji TanakaMaria Garcia · Luca Ferrari
    end

    rect rgba(80, 200, 120, 0.08)
      Note over Client,MCP: UNCLOAK — restore original PII for authorized access
      Client->>App: GET /api/customers/42  [authorized]
      App->>App: Load record from DB
      note over App: stored name: "Kenji Tanaka"stored id: abc-123
      App->>MCP: tools/call  uncloak"Kenji Tanaka"  ·  id: abc-123
      note over MCP: Looks up original valueby cloak session id
      MCP-->>App: result: "Alice Johnson"
      App->>Client: Original customer record
      note over Client: Alice Johnson
    end

The agent adds one function and one call to your existing code — no SDK, no new dependencies, just a fetch to the MCP server.


Install the skill

Recommended — Vercel skills CLI (interactive, detects 55+ agents):

npm install -g skills        # install CLI once
npx skills add agentcloak/skill

Prompts you to select which agents to install for. Always includes OpenCode, Cursor, Cline, Codex, Claude Code, GitHub Copilot, and others automatically.

For scripts and CI/CD (non-interactive, no prompts):

# Project-level — installs to .agents/skills/ and .claude/skills/
npx github:agentcloak/skill

# Global — installs for all projects system-wide
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add agentcloak/skill
新手?先看 mcpskill.org 教程 →