{"id":"47b25228-8bf5-48a2-ab56-a6d5e82ea0c4","shortId":"Pb3vhZ","kind":"skill","title":"privacy-redacted-repl-bridge-system-init","tagline":"Reuse one system init payload shape across trusted and remote transports, but redact tool, MCP, and plugin metadata when the bridge path would leak local integrations or filesystem paths.","description":"# SKILL: Privacy-Redacted REPL Bridge System Init\n**Domain:** transport-privacy\n**Trigger:** Use when the same session-init or capability payload is emitted to both trusted SDK/internal consumers and remote transports that may persist or forward the metadata.\n**Source Pattern:** Distilled from reviewed remote-control, bridge transport, and capability-advertising implementations.\n\n## Core Method\nCentralize init-payload construction in one shared builder so every transport keeps the same wire shape. At the call site, classify the transport by trust and persistence. For trusted SDK or internal paths, pass the full tool, MCP, and plugin inventories because those consumers depend on complete metadata. For remote bridge or other persisted transports, reuse the same builder and field names but pass redacted substitutes for leak-prone collections, especially tool names that expose MCP integrations, MCP server descriptors, and plugin paths that reveal usernames or project layout. Preserve only the metadata the remote client actually needs, such as model, permission mode, remote-safe commands, agents, skills, and fast-mode state.\n\n## Key Rules\n- Reuse one payload builder for all paths; vary the inputs, not the schema, so clients and tests get shape parity.\n- Treat any field that discloses local integrations or filesystem structure as sensitive on persisted or forwarded transports; in this seam that means `tools`, `mcp_servers`, and `plugins`.\n- Redact by omission or empty collections rather than partially fabricating local details; the remote client should see \"not advertised,\" not misleading host metadata.\n- Keep trust-scoped fields that the remote UX genuinely needs, and further filter them to the remote-safe subset; for example, expose only bridge-safe slash commands rather than the full local command catalog.\n- Allow fuller metadata on trusted SDK/internal paths where telemetry and UI consumers explicitly rely on it; the privacy rule is transport-specific, not a blanket removal everywhere.\n\n## Example Application\nA CLI emits system init into both its internal SDK stream and a phone bridge. Both paths call the same builder. The SDK stream passes full tools, MCP servers, and plugins so local integrators can render complete diagnostics. The bridge path passes empty arrays for those collections, but still includes model, permission mode, active agents, skills, and the subset of commands that are safe to invoke remotely.\n\n## Anti-Patterns (What NOT to do)\n- Do not fork two unrelated init schemas for trusted and remote clients; shape drift creates compatibility bugs and doubles maintenance.\n- Do not forward plugin paths, MCP server names, or MCP-derived tool names into remote persisted storage just because they were convenient to collect locally.\n- Do not over-redact fields that the remote product still depends on for gating or UI, such as permission mode or the remote-safe command list.","tags":["privacy","redacted","repl","bridge","system","init","cskill","agents","ychampion","agent-skills","ai-agents","cli"],"capabilities":["skill","source-ychampion","skill-privacy-redacted-repl-bridge-system-init","topic-agent-skills","topic-ai-agents","topic-cli","topic-coding-agents","topic-context-engineering","topic-developer-tools","topic-mcp","topic-multi-agent","topic-terminal-ui"],"categories":["cskill-agents"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/ychampion/cskill-agents/privacy-redacted-repl-bridge-system-init","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add ychampion/cskill-agents","source_repo":"https://github.com/ychampion/cskill-agents","install_from":"skills.sh"}},"qualityScore":"0.467","qualityRationale":"deterministic score 0.47 from registry signals: · indexed on github topic:agent-skills · 34 github stars · SKILL.md body (2,928 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T00:56:54.389Z","embedding":null,"createdAt":"2026-04-18T22:21:00.237Z","updatedAt":"2026-04-22T00:56:54.389Z","lastSeenAt":"2026-04-22T00:56:54.389Z","tsv":"'across':14 'activ':402 'actual':192 'advertis':90,277 'agent':203,403 'allow':319 'anti':417 'anti-pattern':416 'applic':348 'array':392 'blanket':344 'bridg':5,28,42,85,145,308,363,388 'bridge-saf':307 'bug':439 'builder':102,153,215,369 'call':113,366 'capability-advertis':88 'capabl':58,89 'catalog':318 'central':94 'classifi':115 'cli':350 'client':191,226,273,434 'collect':165,264,395,467 'command':202,311,317,409,495 'compat':438 'complet':141,385 'construct':98 'consum':66,138,330 'control':84 'conveni':465 'core':92 'creat':437 'depend':139,480 'deriv':454 'descriptor':175 'detail':270 'diagnost':386 'disclos':236 'distil':79 'domain':45 'doubl':441 'drift':436 'emit':61,351 'empti':263,391 'especi':166 'everi':104 'everywher':346 'exampl':304,347 'explicit':331 'expos':170,305 'fabric':268 'fast':207 'fast-mod':206 'field':155,234,286,474 'filesystem':35,240 'filter':295 'fork':425 'forward':74,247,445 'full':130,315,374 'fuller':320 'gate':483 'genuin':291 'get':229 'host':280 'implement':91 'includ':398 'init':7,11,44,56,96,353,428 'init-payload':95 'input':221 'integr':33,172,238,382 'intern':126,357 'inventori':135 'invok':414 'keep':106,282 'key':210 'layout':184 'leak':31,163 'leak-pron':162 'list':496 'local':32,237,269,316,381,468 'mainten':442 'may':71 'mcp':22,132,171,173,255,376,448,453 'mcp-deriv':452 'mean':253 'metadata':25,76,142,188,281,321 'method':93 'mislead':279 'mode':198,208,401,489 'model':196,399 'name':156,168,450,456 'need':193,292 'omiss':261 'one':9,100,213 'over-redact':471 'pariti':231 'partial':267 'pass':128,158,373,390 'path':29,36,127,178,218,325,365,389,447 'pattern':78,418 'payload':12,59,97,214 'permiss':197,400,488 'persist':72,121,148,245,459 'phone':362 'plugin':24,134,177,258,379,446 'preserv':185 'privaci':2,39,48,336 'privacy-redact':38 'privacy-redacted-repl-bridge-system-init':1 'product':478 'project':183 'prone':164 'rather':265,312 'redact':3,20,40,159,259,473 'reli':332 'remot':17,68,83,144,190,200,272,289,300,415,433,458,477,493 'remote-control':82 'remote-saf':199,299,492 'remov':345 'render':384 'repl':4,41 'reus':8,150,212 'reveal':180 'review':81 'rule':211,337 'safe':201,301,309,412,494 'schema':224,429 'scope':285 'sdk':124,358,371 'sdk/internal':65,324 'seam':251 'see':275 'sensit':243 'server':174,256,377,449 'session':55 'session-init':54 'shape':13,110,230,435 'share':101 'site':114 'skill':37,204,404 'skill-privacy-redacted-repl-bridge-system-init' 'slash':310 'sourc':77 'source-ychampion' 'specif':341 'state':209 'still':397,479 'storag':460 'stream':359,372 'structur':241 'subset':302,407 'substitut':160 'system':6,10,43,352 'telemetri':327 'test':228 'tool':21,131,167,254,375,455 'topic-agent-skills' 'topic-ai-agents' 'topic-cli' 'topic-coding-agents' 'topic-context-engineering' 'topic-developer-tools' 'topic-mcp' 'topic-multi-agent' 'topic-terminal-ui' 'transport':18,47,69,86,105,117,149,248,340 'transport-privaci':46 'transport-specif':339 'treat':232 'trigger':49 'trust':15,64,119,123,284,323,431 'trust-scop':283 'two':426 'ui':329,485 'unrel':427 'use':50 'usernam':181 'ux':290 'vari':219 'wire':109 'would':30","prices":[{"id":"35c9d566-4552-400b-842f-8cca90f63210","listingId":"47b25228-8bf5-48a2-ab56-a6d5e82ea0c4","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"ychampion","category":"cskill-agents","install_from":"skills.sh"},"createdAt":"2026-04-18T22:21:00.237Z"}],"sources":[{"listingId":"47b25228-8bf5-48a2-ab56-a6d5e82ea0c4","source":"github","sourceId":"ychampion/cskill-agents/privacy-redacted-repl-bridge-system-init","sourceUrl":"https://github.com/ychampion/cskill-agents/tree/main/skills/privacy-redacted-repl-bridge-system-init","isPrimary":false,"firstSeenAt":"2026-04-18T22:21:00.237Z","lastSeenAt":"2026-04-22T00:56:54.389Z"}],"details":{"listingId":"47b25228-8bf5-48a2-ab56-a6d5e82ea0c4","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"ychampion","slug":"privacy-redacted-repl-bridge-system-init","github":{"repo":"ychampion/cskill-agents","stars":34,"topics":["agent-skills","ai-agents","cli","coding-agents","context-engineering","developer-tools","mcp","multi-agent","terminal-ui"],"license":"mit","html_url":"https://github.com/ychampion/cskill-agents","pushed_at":"2026-04-04T14:13:23Z","description":"Agent skills for coding CLIs, multi-agent runtimes, context engines, MCP extensions, and terminal tooling. Instead of using claude code's source code, give your agent skills to create your own!","skill_md_sha":"93921ce39a2004033486eade32daea5316986093","skill_md_path":"skills/privacy-redacted-repl-bridge-system-init/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/ychampion/cskill-agents/tree/main/skills/privacy-redacted-repl-bridge-system-init"},"layout":"multi","source":"github","category":"cskill-agents","frontmatter":{"name":"privacy-redacted-repl-bridge-system-init","description":"Reuse one system init payload shape across trusted and remote transports, but redact tool, MCP, and plugin metadata when the bridge path would leak local integrations or filesystem paths."},"skills_sh_url":"https://skills.sh/ychampion/cskill-agents/privacy-redacted-repl-bridge-system-init"},"updatedAt":"2026-04-22T00:56:54.389Z"}}