[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M736R7GBRN7SDFS8F341S3AK":3,"skill-same:01M736R7GBRN7SDFS8F341S3AK":47},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M736R7GBRN7SDFS8F341S3AK","pyre-type-analysis",null,"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\u002F.claude\u002Fskills\u002Fpyre-type-analysis\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: pyre-type-analysis\ndescription: Facebook Pyre static type analysis patterns for Python. Incremental type checking, taint tracking for data-flow security analysis, pysa rules, and integrating Pyre into CI pipelines. Sources: facebook\u002Fpyre-check (MIT).\norigin: yana-ai — synthesized from facebook\u002Fpyre-check (MIT)\nlicense: Apache-2.0\nversion: 1.0.0\ncompatibility: yana-ai >= 1.3.49\n---\n\n# \u002Fpyre-type-analysis\n\n## When to Use\n\n- Large Python codebases where mypy is too slow or lacks taint analysis\n- Security audits: trace untrusted input (HTTP params) to sinks (SQL, shell, eval)\n- Incremental type checking in CI without full re-analysis on every commit\n- Data flow analysis: detect secrets leaking into log statements\n\n## Do NOT use for\n\n- JavaScript\u002FTypeScript (use [[eslint-rule-engine]] or [[ts-morph-refactor]])\n- Simple type hints (mypy is sufficient for small projects)\n\n---\n\n## .pyre_configuration\n\n```json\n{\n  \"site_package_search_strategy\": \"all\",\n  \"source_directories\": [\"src\"],\n  \"exclude\": [\"**\u002Ftests\u002F**\", \"**\u002Fmigrations\u002F**\"],\n  \"strict\": true,\n  \"workers\": 4,\n  \"typeshed\": null\n}\n```\n\n---\n\n## Run incremental check\n\n```bash\n# Initial start (builds type index)\npyre start\n\n# Incremental check (milliseconds on already-indexed codebase)\npyre check\n\n# Watch mode (re-checks on file save)\npyre incremental\n\n# Stop background server\npyre stop\n```\n\n---\n\n## Pysa taint analysis — source\u002Fsink model\n\n```python\n# stubs\u002Ftaint\u002Fsources.pysa\n# Mark Flask request parameters as tainted input sources\ndef flask.Request.args.__getitem__(self, key: str) -> TaintedString: ...\ndef flask.Request.form.__getitem__(self, key: str) -> TaintedString: ...\ndef os.environ.__getitem__(self, key: str) -> TaintedString: ...\n```\n\n```python\n# stubs\u002Ftaint\u002Fsinks.pysa\n# Mark dangerous sinks\ndef subprocess.run(args: TaintSink[RemoteCodeExecution], ...): ...\ndef os.system(command: TaintSink[RemoteCodeExecution]): ...\ndef logging.Logger.info(msg: TaintSink[Logging], *args): ...\n```\n\n```python\n# stubs\u002Ftaint\u002Ftaint.config\n{\n  \"sources\": [{ \"name\": \"TaintedString\" }],\n  \"sinks\":   [\n    { \"name\": \"RemoteCodeExecution\" },\n    { \"name\": \"Logging\" }\n  ],\n  \"rules\": [\n    {\n      \"name\":        \"User-controlled data flows to shell command\",\n      \"code\":        5001,\n      \"sources\":     [\"TaintedString\"],\n      \"sinks\":       [\"RemoteCodeExecution\"],\n      \"message_format\": \"Untrusted input from {$sources} reaches {$sinks}\"\n    }\n  ]\n}\n```\n\n---\n\n## Run pysa security analysis\n\n```bash\n# Run taint analysis (outputs JSON findings)\npyre analyze \\\n  --taint-models-path stubs\u002Ftaint \\\n  --output-format sarif \\\n  > pyre-findings.sarif\n\n# Filter high-severity findings\njq '.runs[].results[] | select(.level == \"error\")' pyre-findings.sarif\n```\n\n---\n\n## Python type annotation patterns Pyre enforces\n\n```python\nfrom typing import Optional, Union\n\n# Strict: no implicit Optional — must be explicit\ndef process(user_id: Optional[str]) -> dict[str, int]:\n    if user_id is None:\n        return {}\n    return {\"id\": int(user_id)}\n\n# Union narrowing — Pyre checks exhaustiveness\ndef handle(value: str | int) -> str:\n    if isinstance(value, str):\n        return value.upper()\n    return str(value)   # Pyre confirms both branches handled\n```\n\n---\n\n## Anti-Fake-Pass Checklist\n\n```\n❌ pyre start not run before pyre check → no background server, check fails\n❌ Missing .pyre_configuration → Pyre analyzes wrong directories\n❌ strict: false in config → Optional not enforced, many type errors silently ignored\n❌ Pysa without .pysa stubs → taint analysis finds nothing (no source\u002Fsink model)\n❌ TaintedString applied too broadly → every string becomes a taint source; false positives flood output\n❌ SARIF output not parsed → raw JSON misread as all-pass\n```\n","# \u002Fpyre-type-analysis\n\n## When to Use\n\n- Large Python codebases where mypy is too slow or lacks taint analysis\n- Security audits: trace untrusted input (HTTP params) to sinks (SQL, shell, eval)\n- Incremental type checking in CI without full re-analysis on every commit\n- Data flow analysis: detect secrets leaking into log statements\n\n## Do NOT use for\n\n- JavaScript\u002FTypeScript (use [[eslint-rule-engine]] or [[ts-morph-refactor]])\n- Simple type hints (mypy is sufficient for small projects)\n\n---\n\n## .pyre_configuration\n\n```json\n{\n  \"site_package_search_strategy\": \"all\",\n  \"source_directories\": [\"src\"],\n  \"exclude\": [\"**\u002Ftests\u002F**\", \"**\u002Fmigrations\u002F**\"],\n  \"strict\": true,\n  \"workers\": 4,\n  \"typeshed\": null\n}\n```\n\n---\n\n## Run incremental check\n\n```bash\n# Initial start (builds type index)\npyre start\n\n# Incremental check (milliseconds on already-indexed codebase)\npyre check\n\n# Watch mode (re-checks on file save)\npyre incremental\n\n# Stop background server\npyre stop\n```\n\n---\n\n## Pysa taint analysis — source\u002Fsink model\n\n```python\n# stubs\u002Ftaint\u002Fsources.pysa\n# Mark Flask request parameters as tainted input sources\ndef flask.Request.args.__getitem__(self, key: str) -> TaintedString: ...\ndef flask.Request.form.__getitem__(self, key: str) -> TaintedString: ...\ndef os.environ.__getitem__(self, key: str) -> TaintedString: ...\n```\n\n```python\n# stubs\u002Ftaint\u002Fsinks.pysa\n# Mark dangerous sinks\ndef subprocess.run(args: TaintSink[RemoteCodeExecution], ...): ...\ndef os.system(command: TaintSink[RemoteCodeExecution]): ...\ndef logging.Logger.info(msg: TaintSink[Logging], *args): ...\n```\n\n```python\n# stubs\u002Ftaint\u002Ftaint.config\n{\n  \"sources\": [{ \"name\": \"TaintedString\" }],\n  \"sinks\":   [\n    { \"name\": \"RemoteCodeExecution\" },\n    { \"name\": \"Logging\" }\n  ],\n  \"rules\": [\n    {\n      \"name\":        \"User-controlled data flows to shell command\",\n      \"code\":        5001,\n      \"sources\":     [\"TaintedString\"],\n      \"sinks\":       [\"RemoteCodeExecution\"],\n      \"message_format\": \"Untrusted input from {$sources} reaches {$sinks}\"\n    }\n  ]\n}\n```\n\n---\n\n## Run pysa security analysis\n\n```bash\n# Run taint analysis (outputs JSON findings)\npyre analyze \\\n  --taint-models-path stubs\u002Ftaint \\\n  --output-format sarif \\\n  > pyre-findings.sarif\n\n# Filter high-severity findings\njq '.runs[].results[] | select(.level == \"error\")' pyre-findings.sarif\n```\n\n---\n\n## Python type annotation patterns Pyre enforces\n\n```python\nfrom typing import Optional, Union\n\n# Strict: no implicit Optional — must be explicit\ndef process(user_id: Optional[str]) -> dict[str, int]:\n    if user_id is None:\n        return {}\n    return {\"id\": int(user_id)}\n\n# Union narrowing — Pyre checks exhaustiveness\ndef handle(value: str | int) -> str:\n    if isinstance(value, str):\n        return value.upper()\n    return str(value)   # Pyre confirms both branches handled\n```\n\n---\n\n## Anti-Fake-Pass Checklist\n\n```\n❌ pyre start not run before pyre check → no background server, check fails\n❌ Missing .pyre_configuration → Pyre analyzes wrong directories\n❌ strict: false in config → Optional not enforced, many type errors silently ignored\n❌ Pysa without .pysa stubs → taint analysis finds nothing (no source\u002Fsink model)\n❌ TaintedString applied too broadly → every string becomes a taint source; false positives flood output\n❌ SARIF output not parsed → raw JSON misread as all-pass\n```\n",{},"main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa",".claude\u002Fskills\u002Fpyre-type-analysis",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":7,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill pyre-type-analysis",{"tool":39,"command":40},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill pyre-type-analysis",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill pyre-type-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpyre-type-analysis\u002FSKILL.md",true,[],[48,56,63,71,79,87],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":52,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"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":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"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":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"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":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"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":88,"name":89,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]