Token导航 LogoToken导航

Agent Skill · 研究检索

osmotic-pressure(渗透压)

osmotic-pressure 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

osmotic-pressure 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 14,679。

总安装 8,376周安装 349GitHub Stars 公开资料未说明下载 2,792核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:osmotic-pressure(渗透压)
来源仓库:https://github.com/jcools1977/osmotic-pressure
安装命令:
openclaw skills install osmotic-pressure
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install osmotic-pressure

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

osmotic-pressure 检测系统间复杂度分布失衡现象并绘制压力传导路径图。识别界面一侧吸收全部复杂性另一侧人为维持简单假象的问题根源。适用于微服务架构解耦不足或前后端职责边界模糊场景诊断。输出热力图与瓶颈节点列表指导重构优先级排序决策。需配合具体系统拓扑结构输入否则难以准确定位问题区域。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install osmotic-pressure;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

osmotic-pressure 怎么安装?

在终端执行 openclaw skills install osmotic-pressure。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

osmotic-pressure 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

osmotic-pressure 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

osmotic-pressure 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

osmotic-pressure 用的人多吗?

公开数据是累计安装 8,376 次,近一周安装 349 次,下载 2,792 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

osmotic-pressure 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
osmotic-pressure

渗透压 · 本页

8,376—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
osmotic-pressure
version
1.0.0
description
>
author
J. DeVere Cooley
category
architecture-health
tags
metadata
openclaw
emoji
💧
os
["darwin", "linux", "win32"]
cost
free
requires_api
false
tags

Osmotic Pressure

"In biology, osmotic pressure drives water from low-concentration regions to high-concentration regions through a semipermeable membrane. In software, complexity follows the same law — it flows toward where it's already concentrated, until the membrane tears."

What It Does

Every system has boundaries: between frontend and backend, between services, between modules, between your code and the framework. At each boundary, complexity must live *somewhere*. The question is: where does it accumulate, and when does the accumulation become unsustainable?

Osmotic Pressure maps the complexity gradient across every boundary in your system. It finds the places where one side has absorbed a disproportionate share of the system's complexity — making it fragile, hard to test, and expensive to change — while the other side coasts on artificial simplicity that exists only because the hard work was pushed across the membrane.

The Biology of Complexity

Biological ConceptSoftware Equivalent
CellModule, service, or component
Cell MembraneAPI, interface, or boundary
SoluteComplexity (logic, state, error handling, edge cases)
Osmotic PressureThe force driving complexity to accumulate on one side
Lysis (cell bursting)Module becomes unmaintainable, must be rewritten
Crenation (cell shriveling)Module becomes trivially thin, serves no purpose
IsotonicComplexity balanced appropriately across boundary

The Five Pressure Patterns

1. The God Module (Hypertonic)

One module has absorbed the complexity of its entire neighborhood. Everything is "simple" because everything delegates to it.

┌──────────────────┐     ┌──────┐
│   API Gateway     │────▶│ Auth │  simple
│   1,847 lines     │     └──────┘
│   43 functions    │     ┌──────┐
│   12 dependencies │────▶│ Log  │  simple
│   89% of bugs     │     └──────┘
│                   │     ┌──────┐
│   ALL THE         │────▶│ DB   │  simple
│   COMPLEXITY      │     └──────┘
└──────────────────┘
          ▲
    osmotic pressure is here

Symptom: Every bug ticket, every new feature, every refactor touches the same module. Other modules are "clean" because they're empty of responsibility.

Pressure indicator: Module size × dependency count × bug frequency. When this exceeds neighbors by > 3x, pressure is critical.

2. The Distributed Monolith (Isotonic Failure)

Complexity is "evenly distributed" — but only because every module reimplements the same logic. The membrane between them allows no sharing, so each cell independently evolved the same complexity.

┌──────────┐  ┌──────────┐  ┌──────────┐
│ Service A │  │ Service B │  │ Service C │
│ validates │  │ validates │  │ validates │
│ formats   │  │ formats   │  │ formats   │
│ retries   │  │ retries   │  │ retries   │
│ caches    │  │ caches    │  │ caches    │
└──────────┘  └──────────┘  └──────────┘
  identical     identical     identical
  complexity    complexity    complexity

Symptom: Total system complexity is 3-5x what it should be. Fixing a bug means fixing it in N places. "We have microservices" but each service is a mini-monolith.

Pressure indicator: Code similarity > 60% across modules that should be independent.

3. The Thin Facade (Hypotonic)

A module's public interface is beautifully simple. Its internals are a nightmare. The complexity was pushed inward rather than addressed — a clean API hiding a disaster.

Public Interface:          Implementation:
┌─────────────────┐       ┌─────────────────────────────┐
│ createUser()    │──────▶│ 17 conditional branches      │
│ getUser()       │       │ 4 retry loops                │
│ deleteUser()    │       │ 8 implicit state transitions  │
│                 │       │ 3 undocumented side effects   │
│ Clean. Simple.  │       │ 2 race conditions             │
│ 3 functions.    │       │ 1 prayer                      │
└─────────────────┘       └─────────────────────────────┘

Symptom: The module is easy to use and impossible to maintain. New developers can call it on day one. No developer can modify it after a year.

Pressure indicator: Public surface area vs. internal cyclomatic complexity. Ratios > 1:10 indicate excessive inward pressure.

4. The Complexity Cascade (Pressure Chain)

Complexity flows downhill through a chain of modules. Each layer pushes its hard problems to the next, until the bottom module bears the accumulated weight of every decision above it.

Frontend   →  "Let the API handle that"
API Layer  →  "Let the service handle that"
Service    →  "Let the database handle that"
Database   →  [Complex stored procedures, triggers, views, materialized
               aggregations doing what should be application logic]

Symptom: The bottom of the stack is fragile and critical. Changing the database schema requires understanding the entire application. The database is doing business logic.

Pressure indicator: Complexity increases monotonically down the call stack. The ratio of bottom-layer complexity to top-layer complexity exceeds 5:1.

5. The Boundary Void (Zero Pressure)

Two modules interact but have no defined boundary. Complexity flows freely in both directions. There's no membrane at all — just a zone of chaos where one module bleeds into the other.

┌─────────────────────────────────────┐
│  Module A ... ??? ... Module B      │
│  imports from B, B imports from A   │
│  shared state, shared types         │
│  no clear interface                 │
│  no clear ownership                 │
│  entropy: maximum                   │
└─────────────────────────────────────┘

Symptom: Nobody knows where A ends and B begins. Pull requests touch both "modules." Tests can't be scoped to one side.

Pressure indicator: Circular dependencies + shared mutable state + zero interface definition.

Measurement Framework

Complexity Metrics Per Module

MetricWhat It Measures
Lines of LogicExecutable lines, excluding declarations and imports
Cyclomatic ComplexityBranching paths through the module
State SurfaceNumber of mutable state variables managed
Error Handling DensityRatio of error/edge-case code to happy-path code
Dependency WeightNumber and depth of dependencies consumed
Export SurfaceNumber of things exposed to consumers
Change FrequencyHow often this module changes (git analysis)
Bug DensityBugs-per-line (from commit message analysis)

Pressure Calculation

For each boundary between module A and module B:

  Complexity(A) = weighted sum of all metrics for A
  Complexity(B) = weighted sum of all metrics for B

  Pressure = |Complexity(A) - Complexity(B)| / max(Complexity(A), Complexity(B))

  0.0 - 0.2  →  Isotonic (healthy balance)
  0.2 - 0.4  →  Mild pressure (monitor)
  0.4 - 0.6  →  Moderate pressure (rebalance recommended)
  0.6 - 0.8  →  High pressure (rebalance needed)
  0.8 - 1.0  →  Critical (lysis imminent)

Output Format

╔══════════════════════════════════════════════════════════════╗
║                 OSMOTIC PRESSURE ANALYSIS                   ║
║            System Equilibrium Score: 0.58 (Stressed)        ║
╠══════════════════════════════════════════════════════════════╣
║                                                              ║
║  PRESSURE MAP:                                               ║
║                                                              ║
║  Frontend ──[0.31]──▶ API ──[0.72]──▶ Service ──[0.44]──▶ DB║
║  (low)                      (HIGH)              (moderate)   ║
║                                                              ║
║  CRITICAL IMBALANCE:                                         ║
║  ┌──────────────────────────────────────────────┐            ║
║  │  API Layer → Service Layer                    │            ║
║  │  Pressure: 0.72 (High — approaching lysis)    │            ║
║  │  Pattern: God Module (Service layer)          │            ║
║  │                                                │            ║
║  │  API Layer:    142 LOL, CC 8, 3 state vars    │            ║
║  │  Service Layer: 2,847 LOL, CC 67, 28 state    │            ║
║  │                                                │            ║
║  │  Diagnosis: API is a thin pass-through.        │            ║
║  │  Service absorbed ALL business logic, ALL      │            ║
║  │  error handling, ALL state management.          │            ║
║  │                                                │            ║
║  │  Recommendation: Extract validation,            │            ║
║  │  transformation, and error policy to API layer. │            ║
║  │  Target pressure: < 0.40                        │            ║
║  └──────────────────────────────────────────────┘            ║
║                                                              ║
║  PATTERN SUMMARY:                                            ║
║  ├── God Modules: 1 (ServiceLayer)                           ║
║  ├── Thin Facades: 2 (APIGateway, AuthModule)                ║
║  ├── Complexity Cascades: 1 (Frontend → DB)                  ║
║  ├── Distributed Duplication: 0                              ║
║  └── Boundary Voids: 0                                       ║
╚══════════════════════════════════════════════════════════════╝

When to Invoke

  • During architecture design (set healthy pressure budgets before building)
  • After rapid feature development (complexity accumulates under speed pressure)
  • When one module seems to attract all the bugs
  • When a "simple" module is impossible to test
  • Before a rewrite (understand where the pressure is before redistributing)

Why It Matters

Complexity is conserved. You can't eliminate it — only distribute it. The question isn't "how do we reduce complexity?" but "where should complexity live, and is it living there?"

Systems don't fail because they're complex. They fail because the complexity is concentrated where it shouldn't be — behind thin facades, inside god modules, at the bottom of cascading chains. Osmotic Pressure makes the invisible distribution visible.

Zero external dependencies. Zero API calls. Pure complexity analysis.

平台分布

OpenClaw

82.28%
按下载量换算2,297

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills