[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73E59JEMK8ZWCSWHBQYZJP2":3,"skill-same:01M73E59JEMK8ZWCSWHBQYZJP2":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M73E59JEMK8ZWCSWHBQYZJP2","opentelemetry-semantic-telemetry",null,"Instrument multi-agent swarms with OpenTelemetry spans, semantic drift monitoring, anomaly detection, distributed trace propagation across 87 agents, and SIEM bridge export for security events.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fopentelemetry-semantic-telemetry\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: opentelemetry-semantic-telemetry\ndescription: Instrument multi-agent swarms with OpenTelemetry spans, semantic drift monitoring, anomaly detection, distributed trace propagation across 87 agents, and SIEM bridge export for security events.\norigin: OpenTelemetry spec (Apache-2.0), Grafana Loki, YAMTAM rule 55\nlicense: Apache-2.0\nversion: 1.0.0\ncompatibility: claude-sonnet-4-6, claude-opus-4-7\n---\n\n# OpenTelemetry Semantic Telemetry\n\nEvery agent action emits a span. Every span has a Trace ID. No action is invisible.\n\n## When to Use\n\n- Debugging complex multi-agent workflows where an error propagates across many agents\n- Building observability dashboards for 87-agent swarms (Grafana, Jaeger)\n- Detecting anomalous CPU\u002FRAM patterns that indicate a compromised agent\n- Forwarding security alerts to a SIEM for centralized monitoring\n\n## Do NOT use for\n\n- Simple single-agent CLI tools where stdout is sufficient\n- Environments where telemetry overhead > 1ms per span is unacceptable\n\n## Span Structure\n\n```js\nimport { trace, context, SpanStatusCode } from '@opentelemetry\u002Fapi';\n\nconst tracer = trace.getTracer('yana-ai', '1.4.0');\n\nasync function instrumentedAgentCall(agentId, command, fn) {\n  return tracer.startActiveSpan(`agent.${command}`, async (span) => {\n    span.setAttributes({\n      'agent.id':      agentId,\n      'agent.command': command,\n      'agent.role':    agentRegistry.get(agentId)?.role,\n      'trust.score':   agentRegistry.get(agentId)?.trustScore,\n    });\n\n    try {\n      const result = await fn();\n      span.setStatus({ code: SpanStatusCode.OK });\n      span.setAttribute('result.status', 'PASS');\n      return result;\n    } catch (e) {\n      span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n      span.setAttribute('result.status', 'BLOCK');\n      span.recordException(e);\n      throw e;\n    } finally {\n      span.end();\n    }\n  });\n}\n```\n\n## Trace Propagation Across Agents\n\n```js\nimport { propagation, context } from '@opentelemetry\u002Fapi';\n\n\u002F\u002F Sender: inject trace context into Bus message\nfunction routeWithTrace(router, msg) {\n  const carrier = {};\n  propagation.inject(context.active(), carrier);\n  return router.route({ ...msg, traceContext: carrier });\n}\n\n\u002F\u002F Receiver: extract and restore trace context\nfunction processWithTrace(msg, handler) {\n  const ctx = propagation.extract(context.active(), msg.traceContext ?? {});\n  return context.with(ctx, () => handler(msg));\n}\n```\n\n## Anomaly Detection (Lớp 81)\n\n```js\nclass MetricAnomalyDetector {\n  constructor() {\n    this.baselines = new Map();  \u002F\u002F agentId → { ram: [], cpu: [] }\n  }\n\n  record(agentId, ram, cpu) {\n    const b = this.baselines.get(agentId) ?? { ram: [], cpu: [] };\n    b.ram.push(ram); b.cpu.push(cpu);\n    if (b.ram.length > 60) { b.ram.shift(); b.cpu.shift(); }\n    this.baselines.set(agentId, b);\n  }\n\n  isSawtooth(agentId) {\n    const { ram } = this.baselines.get(agentId) ?? { ram: [] };\n    if (ram.length \u003C 6) return false;\n    const last6 = ram.slice(-6);\n    \u002F\u002F Sawtooth: alternating high-low pattern\n    let alternations = 0;\n    for (let i = 1; i \u003C last6.length; i++) {\n      if (Math.abs(last6[i] - last6[i-1]) > last6[i-1] * 0.5) alternations++;\n    }\n    return alternations >= 3;\n  }\n}\n```\n\n## Semantic Drift Monitoring (Lớp 82)\n\n```js\n\u002F\u002F Detect gradual prompt injection via embedding distance\nasync function detectSemanticDrift(currentPrompt, baselineEmbedding) {\n  const currentEmbedding = await embed(currentPrompt);\n  const distance = cosineSimilarity(currentEmbedding, baselineEmbedding);\n\n  \u002F\u002F distance \u003C 0.6 means topic has drifted significantly\n  if (distance \u003C 0.6) {\n    return { drifted: true, distance, alert: 'SEMANTIC_DRIFT_DETECTED' };\n  }\n  return { drifted: false, distance };\n}\n```\n\n## Loki Log Labels\n\n```js\n\u002F\u002F Structure logs for Grafana Loki querying\nfunction lokiEntry(event, agentId, fortress, severity) {\n  return {\n    stream: {\n      env:       'yamtam',\n      agent_id:  agentId,\n      fortress:  fortress,   \u002F\u002F 'I' through 'X'\n      severity:  severity,   \u002F\u002F 'INFO' | 'WARN' | 'BLOCK'\n    },\n    values: [[String(Date.now() * 1e6), JSON.stringify(event)]],\n  };\n}\n```\n\n## SIEM Bridge (Lớp 90)\n\n```js\n\u002F\u002F Forward security events in CEF format\nfunction exportToSIEM(event) {\n  const cef = `CEF:0|YAMTAM|Engine|1.4.0|${event.code}|${event.name}|${event.severity}|` +\n    `agentId=${event.agentId} cmd=${event.command} ts=${event.ts}`;\n\n  fetch(process.env.YAMTAM_SIEM_ENDPOINT, {\n    method: 'POST',\n    headers: { 'Content-Type': 'text\u002Fplain', Authorization: `Bearer ${siemToken}` },\n    body: cef,\n  }).catch(() => {\u002F* best-effort — do not block on SIEM failure *\u002F});\n}\n```\n\n## Anti-Fake-Pass Checklist\n\n- [ ] Every agent call wrapped in `startActiveSpan` — no uninstrumented paths\n- [ ] Trace context propagated through Bus messages (check W3C traceparent header)\n- [ ] Anomaly detector tested with synthetic sawtooth RAM data → `isSawtooth()` returns true\n- [ ] Semantic drift tested with off-topic prompt → distance \u003C 0.6\n- [ ] SIEM export is fire-and-forget — a SIEM failure must NOT fail the agent task\n","# OpenTelemetry Semantic Telemetry\n\nEvery agent action emits a span. Every span has a Trace ID. No action is invisible.\n\n## When to Use\n\n- Debugging complex multi-agent workflows where an error propagates across many agents\n- Building observability dashboards for 87-agent swarms (Grafana, Jaeger)\n- Detecting anomalous CPU\u002FRAM patterns that indicate a compromised agent\n- Forwarding security alerts to a SIEM for centralized monitoring\n\n## Do NOT use for\n\n- Simple single-agent CLI tools where stdout is sufficient\n- Environments where telemetry overhead > 1ms per span is unacceptable\n\n## Span Structure\n\n```js\nimport { trace, context, SpanStatusCode } from '@opentelemetry\u002Fapi';\n\nconst tracer = trace.getTracer('yana-ai', '1.4.0');\n\nasync function instrumentedAgentCall(agentId, command, fn) {\n  return tracer.startActiveSpan(`agent.${command}`, async (span) => {\n    span.setAttributes({\n      'agent.id':      agentId,\n      'agent.command': command,\n      'agent.role':    agentRegistry.get(agentId)?.role,\n      'trust.score':   agentRegistry.get(agentId)?.trustScore,\n    });\n\n    try {\n      const result = await fn();\n      span.setStatus({ code: SpanStatusCode.OK });\n      span.setAttribute('result.status', 'PASS');\n      return result;\n    } catch (e) {\n      span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n      span.setAttribute('result.status', 'BLOCK');\n      span.recordException(e);\n      throw e;\n    } finally {\n      span.end();\n    }\n  });\n}\n```\n\n## Trace Propagation Across Agents\n\n```js\nimport { propagation, context } from '@opentelemetry\u002Fapi';\n\n\u002F\u002F Sender: inject trace context into Bus message\nfunction routeWithTrace(router, msg) {\n  const carrier = {};\n  propagation.inject(context.active(), carrier);\n  return router.route({ ...msg, traceContext: carrier });\n}\n\n\u002F\u002F Receiver: extract and restore trace context\nfunction processWithTrace(msg, handler) {\n  const ctx = propagation.extract(context.active(), msg.traceContext ?? {});\n  return context.with(ctx, () => handler(msg));\n}\n```\n\n## Anomaly Detection (Lớp 81)\n\n```js\nclass MetricAnomalyDetector {\n  constructor() {\n    this.baselines = new Map();  \u002F\u002F agentId → { ram: [], cpu: [] }\n  }\n\n  record(agentId, ram, cpu) {\n    const b = this.baselines.get(agentId) ?? { ram: [], cpu: [] };\n    b.ram.push(ram); b.cpu.push(cpu);\n    if (b.ram.length > 60) { b.ram.shift(); b.cpu.shift(); }\n    this.baselines.set(agentId, b);\n  }\n\n  isSawtooth(agentId) {\n    const { ram } = this.baselines.get(agentId) ?? { ram: [] };\n    if (ram.length \u003C 6) return false;\n    const last6 = ram.slice(-6);\n    \u002F\u002F Sawtooth: alternating high-low pattern\n    let alternations = 0;\n    for (let i = 1; i \u003C last6.length; i++) {\n      if (Math.abs(last6[i] - last6[i-1]) > last6[i-1] * 0.5) alternations++;\n    }\n    return alternations >= 3;\n  }\n}\n```\n\n## Semantic Drift Monitoring (Lớp 82)\n\n```js\n\u002F\u002F Detect gradual prompt injection via embedding distance\nasync function detectSemanticDrift(currentPrompt, baselineEmbedding) {\n  const currentEmbedding = await embed(currentPrompt);\n  const distance = cosineSimilarity(currentEmbedding, baselineEmbedding);\n\n  \u002F\u002F distance \u003C 0.6 means topic has drifted significantly\n  if (distance \u003C 0.6) {\n    return { drifted: true, distance, alert: 'SEMANTIC_DRIFT_DETECTED' };\n  }\n  return { drifted: false, distance };\n}\n```\n\n## Loki Log Labels\n\n```js\n\u002F\u002F Structure logs for Grafana Loki querying\nfunction lokiEntry(event, agentId, fortress, severity) {\n  return {\n    stream: {\n      env:       'yamtam',\n      agent_id:  agentId,\n      fortress:  fortress,   \u002F\u002F 'I' through 'X'\n      severity:  severity,   \u002F\u002F 'INFO' | 'WARN' | 'BLOCK'\n    },\n    values: [[String(Date.now() * 1e6), JSON.stringify(event)]],\n  };\n}\n```\n\n## SIEM Bridge (Lớp 90)\n\n```js\n\u002F\u002F Forward security events in CEF format\nfunction exportToSIEM(event) {\n  const cef = `CEF:0|YAMTAM|Engine|1.4.0|${event.code}|${event.name}|${event.severity}|` +\n    `agentId=${event.agentId} cmd=${event.command} ts=${event.ts}`;\n\n  fetch(process.env.YAMTAM_SIEM_ENDPOINT, {\n    method: 'POST',\n    headers: { 'Content-Type': 'text\u002Fplain', Authorization: `Bearer ${siemToken}` },\n    body: cef,\n  }).catch(() => {\u002F* best-effort — do not block on SIEM failure *\u002F});\n}\n```\n\n## Anti-Fake-Pass Checklist\n\n- [ ] Every agent call wrapped in `startActiveSpan` — no uninstrumented paths\n- [ ] Trace context propagated through Bus messages (check W3C traceparent header)\n- [ ] Anomaly detector tested with synthetic sawtooth RAM data → `isSawtooth()` returns true\n- [ ] Semantic drift tested with off-topic prompt → distance \u003C 0.6\n- [ ] SIEM export is fire-and-forget — a SIEM failure must NOT fail the agent task\n",{"name":5,"origin":24,"license":15,"version":25,"description":7,"compatibility":26},"OpenTelemetry spec (Apache-2.0), Grafana Loki, YAMTAM rule 55","1.0.0","claude-sonnet-4-6, claude-opus-4-7","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fopentelemetry-semantic-telemetry",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill opentelemetry-semantic-telemetry",{"tool":43,"command":44},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill opentelemetry-semantic-telemetry",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill opentelemetry-semantic-telemetry","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fopentelemetry-semantic-telemetry\u002FSKILL.md",true,[],[52,60,67,75,83,91],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":56,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]