### Install AgentCloak skill for scripts and CI/CD Source: https://github.com/agentcloak/skill/blob/main/README.md Non-interactive installation for project-level or global use. Use -g for system-wide installation and --list to see available skills. Installs to .agents/skills/ and .claude/skills/ for project-level. ```bash # Project-level — installs to .agents/skills/ and .claude/skills/ npx github:agentcloak/skill # Global — installs for all projects system-wide npx github:agentcloak/skill -g # List available skills npx github:agentcloak/skill --list ``` -------------------------------- ### Install AgentCloak skill via Vercel skills CLI Source: https://github.com/agentcloak/skill/blob/main/README.md Interactive installation using the Vercel skills CLI. Detects 55+ agents and prompts for selection. Always includes OpenCode, Cursor, Cline, Codex, Claude Code, GitHub Copilot, and others automatically. ```bash npm install -g skills # install CLI once npx skills add agentcloak/skill ``` -------------------------------- ### Export Environment Response (200) Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Example JSON response from GET /environments/{env_id}/export. Shows the structure including activatedCountries, cloakSettings, countries, and agentCloak.mcpServers. Note that api_key is not included in the export. ```json { "version": 1, "environmentId": "c6b9a629-...", "config_version": "2", "activatedCountries": [ {"country": "se", "increment": "01", "customer_code": "mt"} ], "cloakSettings": [ { "id": "f5e6d7c8-...", "environment_id": "c6b9a629-...", "created_at": "2026-04-17T10:00:00Z", "name": "Default Cloak", "prompt_language": "original", "global_model_name": "gpt-4o", "global_model_region": "us-east-1", "local_model_name": "gpt-4o-mini", "local_model_region": "us-east-1", "anonymization_options": { "name": {"option": "native", "searchable_key": "key2"}, "age": {"option": "keep", "searchable_key": "key5"}, "gender": {"option": "keep", "searchable_key": "key4"}, "weight": {"option": "placeholder", "searchable_key": "key1"}, "weight_unit": {"option": "kilograms", "searchable_key": "key3"}, "location": {"option": "country", "searchable_key": "key6"}, "medical_condition": {"option": "mask", "searchable_key": "key7"}, "financial": {"option": "mask", "searchable_key": "key8"} } } ], "countries": { "se-mt-01": { "border": { "service": {"name": "AC Service Sweden"}, "configurations": [ { "id": "cfg-uuid-...", "version": 1, "name": "config-name", "country": "se", "environmentId": "c6b9a629-...", "target": "https://upstream.example.com", "supported_countries": ["SE"], "features": ["geoip"], "cors": {}, "redactions": [], "unredactions": [] } ] }, "agentCloak": { "mcpServers": [ { "id": "11223344-...", "service_id": "a1b2c3d4-...", "cloak_settings_id": "f5e6d7c8-...", "name": "my-server", "billing": {"tier": "standard"}, "mcp_server_url": "https://se-mt-01.api.incountry.io/mcp", "schema_id": {"id": "uuid", "configVersion": "1"} } ], "mcpProxies": [] } } }, "policies": [], "dataFirewall": {}, "keyMapping": {} } ``` -------------------------------- ### anonymization_options JSON configuration example Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Example JSON object showing how to configure anonymization_options for all 8 cloakable fields. Each field maps to an object with 'option' and 'searchable_key'. The 'weight_ranges' key is included only when 'weight.option' is 'ranges'. The 'searchable_key' values are fixed per field as listed in the table. ```json { "anonymization_options": { "name": {"option": "native", "searchable_key": "key2"}, "age": {"option": "categories", "searchable_key": "key5"}, "gender": {"option": "mask", "searchable_key": "key4"}, "weight": {"option": "ranges", "searchable_key": "key1"}, "weight_ranges": [["50","79"], ["80","130"]], "weight_unit": {"option": "kilograms", "searchable_key": "key3"}, "location": {"option": "country", "searchable_key": "key6"}, "medical_condition": {"option": "group", "searchable_key": "key7"}, "financial": {"option": "mask", "searchable_key": "key8"} } } ``` -------------------------------- ### GET /environments/{env_id}/export Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Exports the full environment configuration. No request body is required. The response includes all settings and configurations for the environment. ```APIDOC ## GET /environments/{env_id}/export ### Description Exports the full environment configuration, including activated countries, cloak settings, country-specific border and agentCloak configurations, policies, data firewall, and key mapping. ### Method GET ### Endpoint /environments/{env_id}/export ### Parameters #### Path Parameters - **env_id** (string) - Required - The environment ID. ### Request Example No request body required. ### Response #### Success Response (200) Returns the full environment configuration as JSON. #### Response Example { "version": 1, "environmentId": "c6b9a629-...", "config_version": "2", "activatedCountries": [ {"country": "se", "increment": "01", "customer_code": "mt"} ], "cloakSettings": [ { "id": "f5e6d7c8-...", "environment_id": "c6b9a629-...", "created_at": "2026-04-17T10:00:00Z", "name": "Default Cloak", "prompt_language": "original", "global_model_name": "gpt-4o", "global_model_region": "us-east-1", "local_model_name": "gpt-4o-mini", "local_model_region": "us-east-1", "anonymization_options": { "name": {"option": "native", "searchable_key": "key2"}, "age": {"option": "keep", "searchable_key": "key5"}, "gender": {"option": "keep", "searchable_key": "key4"}, "weight": {"option": "placeholder", "searchable_key": "key1"}, "weight_unit": {"option": "kilograms", "searchable_key": "key3"}, "location": {"option": "country", "searchable_key": "key6"}, "medical_condition": {"option": "mask", "searchable_key": "key7"}, "financial": {"option": "mask", "searchable_key": "key8"} } } ], "countries": { "se-mt-01": { "border": { "service": {"name": "AC Service Sweden"}, "configurations": [ { "id": "cfg-uuid-...", "version": 1, "name": "config-name", "country": "se", "environmentId": "c6b9a629-...", "target": "https://upstream.example.com", "supported_countries": ["SE"], "features": ["geoip"], "cors": {}, "redactions": [], "unredactions": [] } ] }, "agentCloak": { "mcpServers": [ { "id": "11223344-...", "service_id": "a1b2c3d4-...", "cloak_settings_id": "f5e6d7c8-...", "name": "my-server", "billing": {"tier": "standard"}, "mcp_server_url": "https://se-mt-01.api.incountry.io/mcp", "schema_id": {"id": "uuid", "configVersion": "1"} } ], "mcpProxies": [] } } }, "policies": [], "dataFirewall": {}, "keyMapping": {} } ``` -------------------------------- ### Code integration prompt: Protect customer records Source: https://github.com/agentcloak/skill/blob/main/README.md Instructs the agent to add PII protection to server.ts, cloaking fullName fields in customer records returned from GET /api/customers. ```text Add PII protection to server.ts. Before returning customer records from GET /api/customers, cloak all fullName fields. ``` -------------------------------- ### POST /environments/{env_id}/import Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Imports a full environment configuration. The request must be a multipart/form-data file with the same structure as the export response. The import updates existing configurations and recreates missing services and cloak settings. ```APIDOC ## POST /environments/{env_id}/import ### Description Imports a full environment configuration. The request body must be a multipart/form-data file with the same structure as the export response. The import updates existing configurations and recreates missing services and cloak settings. ### Method POST ### Endpoint /environments/{env_id}/import ### Parameters #### Path Parameters - **env_id** (string) - Required - The environment ID. #### Request Body - **file** (file) - Required - The JSON file containing the full environment configuration. Must be sent as multipart/form-data with field name `file`. ### Request Example ```bash curl -s -H "X-API-Key: $API_KEY" -F "file=@./tmp/edited.json" "$BASE_URL/environments/$ENV_ID/import" ``` ### Response #### Success Response (200) Returns an empty JSON object `{}`. #### Response Example {} ``` -------------------------------- ### On-demand prompt: Query available options Source: https://github.com/agentcloak/skill/blob/main/README.md Asks the MCP server for available PII cloaking options. Use to discover what fields and strategies are supported. ```text What PII cloaking options are available? ``` -------------------------------- ### Code integration prompt Source: https://github.com/agentcloak/skill/blob/main/README.md Use this prompt to 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. ```text Add PII protection to acme-crm.ts using the AgentCloak MCP server. Cloak the full names of all customers before printing them. ``` -------------------------------- ### Environment configuration prompt: Show border config Source: https://github.com/agentcloak/skill/blob/main/README.md Requests the border configuration for a specific environment (c6b9a629-...). Use to inspect current redaction settings. ```text Show border config in environment c6b9a629-... ``` -------------------------------- ### Environment configuration prompt: Add masking for field Source: https://github.com/agentcloak/skill/blob/main/README.md Adds masking for the JSON pointer $.address in the specified environment. ```text Add masking for field $.address in environment c6b9a629-... ``` -------------------------------- ### Export, Edit, and Import Environment with curl and jq Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Complete workflow for exporting an environment, reading/editing a field with jq, importing the edited payload, and verifying the change. Uses environment variables INC_API_KEY, INC_BASE_URL, and INC_ENV_ID. The verify step uses API_KEY and BASE_URL instead, which may be a typo in the source. ```bash # Export mkdir -p ./tmp curl -s -H "X-API-Key: $INC_API_KEY" "$INC_BASE_URL/environments/$INC_ENV_ID/export" > ./tmp/baseline.json # Read a field jq '.countries["se-mt-01"].border.configurations[0].target' ./tmp/baseline.json # Edit a field jq '.countries["se-mt-01"].border.configurations[0].target = "https://new.example.com"' ./tmp/baseline.json > ./tmp/edited.json # Import curl -s -H "X-API-Key: $INC_API_KEY" -F "file=@./tmp/edited.json" "$INC_BASE_URL/environments/$INC_ENV_ID/import" # Verify curl -s -H "X-API-Key: $API_KEY" "$BASE_URL/environments/$ENV_ID/export" | jq '.countries["se-mt-01"].border.configurations[0].target' ``` -------------------------------- ### Editing Workflow: Export, Edit, Import, Verify Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Step-by-step bash workflow for updating an MCP server name via export, jq edit, import, and verification. Uses API_KEY and BASE_URL environment variables. The verify step pipes export output to jq to check the updated name. ```bash # 1. Export baseline mkdir -p ./tmp curl -s -H "X-API-Key: $API_KEY" "$BASE_URL/environments/$ENV_ID/export" > ./tmp/baseline.json # 2. Edit with jq (example: update MCP server name) jq '.countries["se-mt-01"].agentCloak.mcpServers[0].name = "renamed"' ./tmp/baseline.json > ./tmp/edited.json # 3. Import edited payload curl -s -H "X-API-Key: $API_KEY" -F "file=@./tmp/edited.json" "$BASE_URL/environments/$ENV_ID/import" # 4. Verify curl -s -H "X-API-Key: $API_KEY" "$BASE_URL/environments/$ENV_ID/export" | \ jq '.countries["se-mt-01"].agentCloak.mcpServers[0].name' ``` -------------------------------- ### Code integration prompt: Add Protect PII button Source: https://github.com/agentcloak/skill/blob/main/README.md Instructs the agent to add a 'Protect PII' button to the page that cloaks customer names and updates the table when clicked. ```text Add a "Protect PII" button to the page. When clicked, cloak all customer names and update the table. ``` -------------------------------- ### Environment configuration prompt: Change email redaction strategy Source: https://github.com/agentcloak/skill/blob/main/README.md Changes the email redaction strategy to emailPersistent in the specified environment. ```text In environment c6b9a629-..., change email redaction strategy to emailPersistent ``` -------------------------------- ### On-demand cloaking prompt Source: https://github.com/agentcloak/skill/blob/main/README.md Use this prompt to ask the agent to cloak a value immediately. The agent calls the MCP server directly and returns the result without modifying code. ```text Cloak the name "Alice Johnson" ``` -------------------------------- ### Batch cloak with newline join (TypeScript) Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Collects all values into an array, joins with newline, sends one MCP call, then splits and maps results back. Use when the source is finite and you need to avoid multiple round-trips. If split count mismatches, fall back to per-item cloaking. ```typescript // 1. Collect const assignees = issues.map(i => i.assignee); // ["Alice Smith", "Bob Jones", ...] // 2. Join with newline const joined = assignees.join("\n"); // "Alice Smith\nBob Jones\n..." // 3. One MCP call const cloaked = await cloak(joined); // "Ivan Petrov\nDmitry Sidorov\n..." // 4. Split and map back const cloakedNames = cloaked.split("\n"); const output = issues.map((issue, i) => ({ ...issue, assignee: cloakedNames[i] ?? issue.assignee, })); ``` -------------------------------- ### On-demand uncloaking prompt Source: https://github.com/agentcloak/skill/blob/main/README.md Use this prompt to ask the agent to uncloak a value immediately. Provide the cloaked text and its cloak ID to restore the original value. ```text Uncloak with id ``` -------------------------------- ### Cloak and Uncloak curl commands for MCP tools/call Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Use these curl commands to invoke the cloak and uncloak tools via the MCP server. The cloak command sends a message with PII and returns an id; the uncloak command uses that id and the cloaked text to reverse the substitution. Both require the INC_MCP_URL and INC_MCP_API_KEY environment variables and the x-inc-agentcloak-api-key header. ```bash # Cloak curl -si --max-time 30 -X POST "$INC_MCP_URL" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -H "x-inc-agentcloak-api-key: $INC_MCP_API_KEY" \ -d '{"jsonrpc":"2.0","method":"tools/call","id":1,"params":{"name":"cloak","arguments":{"message":"John Smith, age 34"}}}' # Uncloak (use id from cloak) curl -si --max-time 30 -X POST "$INC_MCP_URL" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -H "x-inc-agentcloak-api-key: $INC_MCP_API_KEY" \ -d '{"jsonrpc":"2.0","method":"tools/call","id":2,"params":{"name":"uncloak","arguments":{"message":"","id":""}}}' ``` -------------------------------- ### Set environment variables for AgentCloak Source: https://github.com/agentcloak/skill/blob/main/README.md Exports the required environment variables INC_MCP_URL and INC_MCP_API_KEY. Must be set before opening your agent. INC_MCP_API_KEY format is :. ```bash export INC_MCP_URL="https://us-mt-01.api.incountry.io/mcp" export INC_MCP_API_KEY=":" ``` -------------------------------- ### Sequence diagram: cloaking and uncloaking flow Source: https://github.com/agentcloak/skill/blob/main/README.md Mermaid sequence diagram showing the cloaking and uncloaking flow between client, app, and MCP server. The app loads records, calls the cloak tool, and returns anonymized data; for authorized access, it uncloaks to restore original PII. ```mermaid sequenceDiagram actor Client participant App as Your App participant MCP as AgentCloak
MCP 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 Johnson
Bob Smith · Carol White App->>MCP: tools/call cloak
"Alice Johnson\nBob Smith\nCarol White" note over MCP: Replaces each name
with synthetic value MCP-->>App: result: "Kenji Tanaka\nMaria Garcia\nLuca Ferrari"
id: abc-123 App->>Client: Anonymized customer list note over Client: Kenji Tanaka
Maria 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 value
by cloak session id MCP-->>App: result: "Alice Johnson" App->>Client: Original customer record note over Client: Alice Johnson end ``` -------------------------------- ### Write or update a variable in .env Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Use this bash command to persist a credential value (e.g., INC_MCP_URL) to the project's .env file. It updates the variable if it exists, or appends it if not. The command uses grep, sed, and echo with a fallback to handle both cases. ```bash # Write/update a variable in .env grep -q '^INC_MCP_URL=' .env 2>/dev/null \ && sed -i '' 's|^INC_MCP_URL=.*|INC_MCP_URL=|' .env \ || echo 'INC_MCP_URL=' >> .env ``` -------------------------------- ### uncloak Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Restores PII data by replacing placeholders with original values. Requires the session ID returned by the cloak tool. ```APIDOC ## POST / (JSON-RPC 2.0) ### Description Restores PII data by replacing placeholders with original values. Requires the session ID returned by the cloak tool. ### Method POST ### Endpoint `$INC_MCP_URL` (the MCP server URL) ### Parameters #### Request Body - `jsonrpc` (string) - Required - Must be `"2.0"`. - `method` (string) - Required - Must be `"tools/call"`. - `id` (number) - Required - A unique request identifier. - `params` (object) - Required - Contains `name` and `arguments`. - `name` (string) - Required - Must be `"uncloak"`. - `arguments` (object) - Required - Contains `message` and `id`. - `message` (string) - Required - The cloaked text to restore. - `id` (string) - Required - The session ID from the cloak response. ### Request Example ```json {"jsonrpc":"2.0","method":"tools/call","id":2,"params":{"name":"uncloak","arguments":{"message":"","id":""}}} ``` ### Response #### Success Response (200) - `jsonrpc` (string) - Always `"2.0"`. - `id` (number) - Echoes the request ID. - `result` (object) - Contains `content` and `structuredContent`. - `content` (array) - Array of content objects; `content[0].text` is a JSON string (ignore). - `structuredContent` (object) - Contains `result` and `id`. - `result` (string) - The uncloaked text. - `id` (string) - The session ID (same as input). #### Response Example ```json { "jsonrpc": "2.0", "id": 2, "result": { "content": [{"type": "text", "text": "{\"result\":\"John Smith, age 34\",\"id\":\"179e8912-...\"}"}], "structuredContent": { "result": "John Smith, age 34", "id": "179e8912-d125-4629-a68f-78d1f6f8c9c6" } } } ``` ``` -------------------------------- ### Correct: pad plain text then wrap ANSI (TypeScript) Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Keeps cloaked names as plain strings, pads them first, then wraps with ANSI in the print statement. This preserves column widths and avoids breaking ANSI escape sequences. Use this pattern for any padding or truncation. ```typescript // ✅ Do this instead: // Keep cloaked names as plain strings in the data: const displayCustomers = customers.map((c, i) => ({ ...c, fullName: cloakedNames[i], // plain text, no ANSI })); // In the print loop, pad FIRST then wrap: function cloakedCol(name: string, width: number): string { // width - 2 to leave room for the two asterisks so total visible width = width const padded = name.substring(0, width - 2).padEnd(width - 2); return `${YELLOW}*${padded}*${RESET}`; } // Usage (replaces col(c.fullName, 22) in the console.log row): console.log(`${col(c.id, 14)} ${cloakedCol(c.fullName, 22)} ${col(c.email, 28)} ...`); ``` -------------------------------- ### ANSI yellow with asterisks for demo (TypeScript) Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Wraps cloaked values in ANSI yellow and asterisks for visibility in demos. Use only in non-production demo/presentation apps. Terminals that strip ANSI still show asterisks. Do not use in production logs or UIs that don't render ANSI. ```typescript const YELLOW = '\x1b[33m'; const RESET = '\x1b[0m'; // Wrap each cloaked value — color + asterisks for double visibility: const display = `${YELLOW}*${cloakedName}*${RESET}`; ``` -------------------------------- ### cloak Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Cloaks PII data by replacing it with placeholders. The response contains a session ID that must be passed to the uncloak tool to reverse the substitution. ```APIDOC ## POST / (JSON-RPC 2.0) ### Description Cloaks PII data by replacing it with placeholders. The response contains a session ID that must be passed to the uncloak tool to reverse the substitution. ### Method POST ### Endpoint `$INC_MCP_URL` (the MCP server URL) ### Parameters #### Request Body - `jsonrpc` (string) - Required - Must be `"2.0"`. - `method` (string) - Required - Must be `"tools/call"`. - `id` (number) - Required - A unique request identifier. - `params` (object) - Required - Contains `name` and `arguments`. - `name` (string) - Required - Must be `"cloak"`. - `arguments` (object) - Required - Contains `message`. - `message` (string) - Required - The text containing PII to cloak. ### Request Example ```json {"jsonrpc":"2.0","method":"tools/call","id":1,"params":{"name":"cloak","arguments":{"message":"John Smith, age 34"}}} ``` ### Response #### Success Response (200) - `jsonrpc` (string) - Always `"2.0"`. - `id` (number) - Echoes the request ID. - `result` (object) - Contains `content` and `structuredContent`. - `content` (array) - Array of content objects; `content[0].text` is a JSON string (ignore). - `structuredContent` (object) - Contains `result` and `id`. - `result` (string) - The cloaked text. - `id` (string) - Session ID to pass to `uncloak`. #### Response Example ```json { "jsonrpc": "2.0", "id": 1, "result": { "content": [{"type": "text", "text": "{\"result\":\"Ivan Petrov\",\"id\":\"179e8912-...\"}"}], "structuredContent": { "result": "Ivan Petrov", "id": "179e8912-d125-4629-a68f-78d1f6f8c9c6" } } } ``` ``` -------------------------------- ### On-demand prompt: Cloak name Source: https://github.com/agentcloak/skill/blob/main/README.md Prompts the MCP server to cloak a specific name. Use for on-demand PII protection requests. ```text Cloak the name "Maria Garcia" using the MCP server ``` -------------------------------- ### Cloak a message via MCP Server Source: https://github.com/agentcloak/skill/blob/main/README.md Sends a JSON-RPC 2.0 request to the MCP server to cloak a message. Uses the 'cloak' tool with the message as an argument. Requires INC_MCP_URL and INC_MCP_API_KEY environment variables. ```bash curl -s -X POST "$INC_MCP_URL" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -H "x-inc-agentcloak-api-key: $INC_MCP_API_KEY" \ -d '{ "jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": { "name": "cloak", "arguments": { "message": "John Smith, age 34" } } }' ``` -------------------------------- ### Uncloak a message via MCP Server Source: https://github.com/agentcloak/skill/blob/main/README.md Sends a JSON-RPC 2.0 request to the MCP server to uncloak a message. Requires the 'id' from the cloak response. Uses the 'uncloak' tool with the cloaked message and id as arguments. ```bash curl -s -X POST "$INC_MCP_URL" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -H "x-inc-agentcloak-api-key: $INC_MCP_API_KEY" \ -d '{ "jsonrpc": "2.0", "method": "tools/call", "id": 2, "params": { "name": "uncloak", "arguments": { "message": "", "id": "" } } }' ``` -------------------------------- ### Wrong: ANSI inside data field (TypeScript) Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md Shows the anti-pattern of storing ANSI codes inside data fields before padding/truncation. This breaks column widths and can corrupt terminal state. Do not use this approach. ```typescript // ❌ Don't do this: const displayCustomers = customers.map((c, i) => ({ ...c, fullName: `${YELLOW}*${cloakedNames[i]}*${RESET}`, // ANSI inside data field })); // Later: col(c.fullName, 22) ← substring() cuts inside ANSI escape → broken output ``` -------------------------------- ### JSON-RPC 2.0 response envelope for cloak/uncloak Source: https://github.com/agentcloak/skill/blob/main/skills/agentcloak/SKILL.md This is the standard JSON-RPC 2.0 response returned by both cloak and uncloak. The cloaked or uncloaked text is in result.structuredContent.result, and the session id is in result.structuredContent.id. The result.content[0].text field contains the same data as a JSON string and should be ignored. ```json { "jsonrpc": "2.0", "id": 1, "result": { "content": [{"type": "text", "text": "{\"result\":\"Ivan Petrov\",\"id\":\"179e8912-...\"}"}], "structuredContent": { "result": "Ivan Petrov", "id": "179e8912-d125-4629-a68f-78d1f6f8c9c6" } } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.