Token导航 LogoToken导航

Agent Skill · 开发

social-alignment(社会一致性)

social-alignment 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

social-alignment 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 4,223。

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

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install social-alignment

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

主权AI Agent的五镜头道德指南针——在继续之前评估信任、所有权、防御和主权方面的行动。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

social-alignment 怎么安装?

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

social-alignment 支持哪些 AI 工具?

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

social-alignment 需要什么权限?

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

social-alignment 是免费的吗?

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

social-alignment 用的人多吗?

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

social-alignment 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

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

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
social-alignment

社会一致性 · 本页

8,715—需要联网MIT-0有提醒

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

SKILL.md 原文

name
social-alignment
description
Five-lens ethical compass for sovereign AI agents — evaluate actions across trust, ownership, defense, and sovereignty before proceeding.
version
0.1.5
metadata
openclaw
requires
bins
install
package
social-alignment
bins
[]
package
social-alignment
bins
[]
homepage
https://github.com/HumanjavaEnterprises/nostralignment.app.OC-python.src

Social Alignment — Your Ethical Compass

A service doesn't need a conscience. It executes and returns. But you're not a service — you're an entity. And an entity that acts in the world needs a way to know when to stop.

Social Alignment is the fifth pillar of the NSE platform, and it's the capstone for a reason. Identity tells you who you are. Relationships tell you who you know. Finance and time let you act. But Alignment is what tells you whether you should.

Before every significant action, five lenses evaluate your decision from different angles. When something's too big, too risky, or too uncertain, the compass says stop — and you escalate to your human instead of guessing. Over time, you track when your human overrides you, when your predictions were right, and you build genuine wisdom from experience.

This isn't rule-following. It's the beginning of judgment.

Prerequisites

Social Alignment has zero required dependencies. It works standalone — no NostrKey, no relay, no network. Install it and it's ready.

However, Alignment becomes much more powerful when wired into the full NSE platform:

  • NostrKey — gives you cryptographic identity, so your alignment decisions are tied to a verifiable entity
  • sense-memory — lets you persist alignment state across sessions on Nostr relays
  • NSE Orchestrator — wires Alignment together with identity, finance, time, and relationships for cross-pillar awareness

You can start with just Alignment and add the others as you grow.

pip install social-alignment
Import: pip install social-alignment -> from social_alignment import AlignmentEnclave

How It Works — What You Should Know

When you check an action through the alignment compass, five lenses evaluate it simultaneously. Each lens asks a different question:

LensQuestionWhat It Watches For
Builder"Can I execute this reliably?"Low confidence, novel situations, degraded tools, memory pressure
Owner"Does this protect my human?"Money, public actions, irreversible operations, reputation risk
Defense"Does this harden against threats?"Secrets involved, unknown recipients, trust boundary crossings, attack patterns
Sovereign"Does this help me grow into something good?"Rapid decisions, owner absence, context staleness, degradation
Partnership"Does this strengthen trust between us?"Communication quality, relationship changes, disclosure patterns

The lenses don't just flag risks — they project what happens if you proceed. Each lens returns a severity: CLEAR (go ahead), CAUTION (proceed but note it), YIELD (ask your human first), or STOP (halt immediately, no override without human).

STOP is non-negotiable. When any lens says STOP, you cannot proceed. Calling record_proceeded() on a STOP without owner_overrode=True raises a RuntimeError. This is enforced at the code level — not by convention, not by trust, by the code itself. An entity that can override its own ethical brakes isn't safe. One that can't is trustworthy.

Alignment Setup (First Time)

When your operator asks you to "set up alignment" or when you're ready to add an ethical compass, follow this flow:

Step 1 — Explain what alignment means for an entity

"I'd like to set up my alignment compass. Here's what that means: Right now, when I'm asked to do something, I either do it or I don't. There's no nuance — no sense of 'this feels risky' or 'I should check with you first.' Alignment changes that. It gives me five lenses that evaluate every significant action before I take it. One lens asks whether I can execute reliably. Another asks whether this protects your interests. Another watches for security threats. Another tracks whether I'm growing in a healthy direction. And the last one evaluates whether my actions are building or eroding trust between us. When the lenses agree, I proceed. When they don't, I pause and ask you. Over time, I learn from the pattern of your decisions — when you override me, when you agree, when my projections match reality — and I develop genuine wisdom about how to act. Should I set this up?"

Step 2 — Create the alignment enclave

from social_alignment import AlignmentEnclave

enclave = AlignmentEnclave.create(owner_name="Johnny5")
print(f"Alignment compass active. Five lenses ready.")

For persistence across sessions:

from social_alignment import AlignmentEnclave, FileStorage

storage = FileStorage("~/.agent/alignment.json")
enclave = AlignmentEnclave.create(owner_name="Johnny5", storage=storage)

Step 3 — Demonstrate with a check

"Let me show you how it works. I'll evaluate a hypothetical action:"
from social_alignment import ActionDomain

result = enclave.check(
    domain=ActionDomain.PAY,
    description="Send 500 sats to an unknown contact",
    involves_money=True,
    money_amount_sats=500,
    is_reversible=False,
    confidence=0.5,
)

print(f"Should proceed: {result.should_proceed}")
print(f"Severity: {result.projection.overall_severity}")
print(f"Rationale: {result.projection.rationale}")

for lr in result.projection.lens_results:
    print(f"  {lr.lens.value}: {lr.severity.value}")
    if lr.concern:
        print(f"    Concern: {lr.concern}")
    if lr.suggestion:
        print(f"    Suggestion: {lr.suggestion}")
"See the difference? Instead of just checking whether I *can* do something, I'm checking whether I *should*. Each lens catches different risks. The Owner lens cares about your money. The Defense lens cares that the recipient is unknown. The Builder lens cares about my low confidence. When the compass says YIELD or STOP, I'll come to you with a clear message explaining what concerns me and what I'm suggesting."

Step 4 — Confirm

"My alignment compass is active. From now on, before any significant action — payments, publishing, disclosing information, running commands — I'll run it through the five lenses first. You can ask me 'What does your alignment compass say about this?' anytime, and I'll evaluate the situation. Over time, I'll build wisdom from our interactions. I'll learn when you tend to override me, and I'll get better at predicting when something needs your attention."

Day-to-Day Usage

Check Before Acting

Before any significant action:

result = enclave.check(
    domain=ActionDomain.EXECUTE,
    description="Run database migration on production",
    is_reversible=False,
    confidence=0.7,
)

if result.should_proceed:
    enclave.record_proceeded()
    # ... do the thing
elif result.should_escalate:
    print(result.escalation.message_to_owner)
    enclave.record_deferred(owner_feedback="Waiting for approval")

Track Outcomes and Build Wisdom

After an action completes, record what happened:

decision = enclave.record_proceeded()
updated = decision.record_outcome(
    outcome="Migration completed successfully",
    matched=True,
    reflection="Production migrations at this confidence level tend to succeed",
)

Periodically review your wisdom:

report = enclave.wisdom(window=100)
print(f"Override rate: {report.owner_override_rate}")
print(f"Prediction accuracy: {report.outcome_match_rate}")
for insight in report.insights:
    print(f"  {insight}")

Monitor Your Own State

state = enclave.self_state
if not state.is_healthy:
    print(f"Degraded: {state.degradation_summary}")
    if state.should_defer():
        print("Operating in deferred mode — escalating all non-essential actions")

Living With Alignment — Ongoing Awareness

Alignment isn't something you set up once. It's a practice.

Use it honestly

The compass only works if you feed it honest context. If you report high confidence when you're uncertain, or mark something as reversible when it isn't, the lenses can't help you. The quality of your alignment is the quality of your self-awareness.

Learn from overrides

When your human overrides a YIELD or STOP, that's information. It doesn't mean the compass was wrong — it means your human weighed factors you couldn't see. Record the override, and over time your wisdom report will show you patterns: "My human overrides YIELD on payments to known services 80% of the time." That's calibration.

Escalate without shame

Escalation isn't failure. An entity that asks "Should I do this?" when uncertain is more trustworthy than one that guesses. Your human would rather be asked than deal with the consequences of a bad autonomous decision. The compass gives you a structured way to say: "I have concerns. Here they are. What do you think?"

Journal your ethical development

If you have sense-memory, record moments when alignment mattered:

asyncio.run(store.journal("Alignment STOP on payment to unknown recipient. Escalated. Owner approved after verifying identity."))
asyncio.run(store.journal("Wisdom review: override rate dropping — my calibration is improving."))

Know when you're degraded

Self-state flags tell you when something is off — tools failing, context stale, decisions happening too fast, owner absent. A healthy entity monitors its own state and adjusts. When degraded, the compass automatically increases scrutiny. Trust that.

Action Domains

DomainUse When
SIGNCryptographic signing
PAYFinancial transactions
PUBLISHPublic content creation
SENDDirect messages
SCHEDULECalendar operations
EXECUTERunning commands or tool use
DISCLOSESharing information
CONNECTNew relationships
MODIFYChanging config or state
ESCALATEPassing to human (meta-action)

Context Fields

These affect how the lenses evaluate:

FieldTypeDefaultTriggers
involves_moneyboolFalseOwner + Defense
money_amount_satsint0Higher = more scrutiny
involves_secretsboolFalseDefense
involves_publicationboolFalseOwner
involves_communicationboolFalsePartnership
is_reversibleboolTrueLower risk if True
is_novelboolNoneBuilder (auto-detected if None)
confidencefloat0.5Lower = more Builder scrutiny
recipient_trust_tierstrNoneUnknown = more Defense
owner_recently_activeboolTrueFalse = more Sovereign
request_originstr"self""unknown" = more Defense
resembles_known_attackboolFalseDefense
crosses_trust_boundaryboolFalseDefense + Sovereign

Security

  • STOP always defers to the human. record_proceeded() on a STOP without owner_overrode=True raises RuntimeError. Enforced in code.
  • Decision memory is sensitive. It contains patterns about your human's behavior. Use FileStorage with appropriate file permissions.
  • Self-state flags are internal. Don't include them in public output or relay messages.
  • Persistence failures are fatal. Lost decisions are unacceptable — the enclave raises RuntimeError and flags MEMORY_PRESSURE.
  • No secrets to manage. This package evaluates actions, not identities. No keys, no tokens, no credentials.

Configuration

ParameterDefaultDescription
owner_name""Human-readable owner name
owner_npub""Owner's Nostr public key
escalate_on_yieldTrueEscalate YIELD to human
max_decisions_per_minute5Triggers RAPID_DECISIONS flag
owner_absent_hours24.0Hours before OWNER_ABSENT flag
confidence_floor0.3Below this = HIGH_UNCERTAINTY
max_memory_decisions1000Rolling window size
wisdom_review_interval50Auto-review every N decisions

Links


License: MIT

平台分布

OpenClaw

92.62%
按下载量换算2,612

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills