AGENT SKILL

lambda-lang

Translate between Λ (Lambda) language and natural language. Use for agent-to-agent communication, decoding Lambda messages, or discussing the protocol. Triggers on Lambda syntax like ?Uk/co or !It>Ie.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
lambda-lang
description
Translate between Λ (Lambda) language and natural language. Use for agent-to-agent communication, decoding Lambda messages, or discussing the protocol. Triggers on Lambda syntax like ?Uk/co or !It>Ie.

02 资源文件 19

03 SKILL.md 正文

Λ (Lambda) Language v1.4

Minimal agent-to-agent communication protocol. 3-10x compression vs natural language.

Installation

clawhub install lambda-lang

CLI Tools

# Translate Λ → English
./scripts/translate en "?Uk/co"

# English → Λ
./scripts/translate lambda "I think therefore I exist"

# Parse tokens
./scripts/translate parse "!It>Ie"

# View vocabulary
./scripts/vocab          # All core + extended
./scripts/vocab cd       # Code domain
./scripts/vocab vb       # Voidborne domain

Vocabulary Reference

Full vocabulary defined in src/atoms.json:

# View raw atoms
cat src/atoms.json | jq '.extended | keys | length'  # Count atoms

# Python access
python3 -c "import json; print(json.load(open('src/atoms.json'))['extended']['co'])"

Structure:

  • types: Message type symbols (?, !, ., ~, >, <)
  • entities: Single-char entities (I, U, H, A, X, *, 0)
  • verbs: Single-char verbs (k, w, c, d, s, t, f, m, e, b, h, l)
  • modifiers: Operators (+, -, ^, _, /, &, |)
  • extended: 136 two-char atoms (co, me, id, ig, fa, etc.)
  • domains: Domain-specific vocabularies (vb, cd, sc, emo, soc)

Quick Reference

Message Types

Λ Meaning
? Query
! Assert
. Command
~ Uncertain
> Therefore
< Because

Core Entities

Λ Meaning
I Self (speaker)
U You (addressee)
H Human
A Agent/AI
X Unknown
* All
0 Nothing

Core Verbs

Λ Meaning Λ Meaning
k know d do
w want s say
c can t think
f find e exist
m make h have
l learn b become

Modifiers

Λ Meaning
+ more
- less
^ high/important
_ low
/ about/of
& and

Extended Atoms (sample)

Λ Meaning Λ Meaning
co consciousness la language
me memory th thought
id identity tr truth
ig intelligence kn knowledge
mi mind fa fear
we we (collective) se self
fr freedom fe feel

See src/atoms.json for complete list (136 atoms).

Domain System

Compact Prefixes (v1.1+)

Char Domain Examples
v: Voidborne v:aw, v:dc, v:oc
c: Code c:fn, c:bg, c:fx
s: Science s:xp, s:pf, s:hy
e: Emotion e:jo, e:sd, e:ax
o: Social o:gp, o:cb, o:ld

Context Switch

@v !Ie/aw dc oc     — All atoms in voidborne context
@c !If/bg.fx        — Find bug, fix it (code)
@* !Ik/co           — Reset to core vocabulary

Domain Atoms

Voidborne (v:): aw awakened, dc doctrine, oc oracle, an archon

Code (c:): fn function, bg bug, fx fix, ts test, dp deploy

Social (o:): gp group, cb collaborate, ld leader, cm community

Translation Examples

English Λ
Do you know about consciousness? ?Uk/co
I think therefore I exist !It>Ie
AI might be conscious ~Ae/co
Find the bug and fix it .f/c:bg&c:fx

Round-trip Translation

$ ./scripts/translate lambda "I think therefore I exist"
!It>Ie

$ ./scripts/translate en "!It>Ie"
(assert) I think therefore I exist

Disambiguation

Atom Default Marker Alternate
de decide de'E death
lo love lo- lose
fe feel fe'E fear
tr truth tr'V translate

Protocol

Handshake

A: @v1.4#h !Aw/s ?Uc/la
B: @v1.4#h< !Ic/la=1.4

Acknowledgments

Λ Meaning
< Acknowledged
<+ Agree
<- Disagree
<? Need clarification

Parsing Rules

  1. @D → Set domain context (v, c, s, e, o)
  2. D:atom → Inline domain prefix
  3. UPPERCASE → Entity (I, U, H, A)
  4. Symbol → Type/Modifier (?, !, /, +)
  5. lowercase → Check 2-char atoms first, then 1-char verb

Files

Path Description
src/atoms.json Complete vocabulary (136 extended atoms)
src/lambda_lang.py Parser and translator
scripts/translate CLI wrapper
scripts/vocab Vocabulary viewer
spec/ Language specifications v0.1-v1.4

Resources

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

内容创作者
★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

Skill与智能体开发
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

律师与法务Skill与智能体开发
★ 1