Xpersona
S

self-improving-negotiation

CLAWHUB · Unverified

Logs redacted negotiation learnings (concession leaks, BATNA gaps, framing misses, objections, agreement risk). Optional project-scoped reminder hooks. extract-skill.sh is dry-run by default and writes a SKILL.md scaffold only with --write after explicit user approval. Does not accept terms, set pricing, or approve deals. Use when negotiations stall, concessions exceed guardrails, terms are ambiguous, or recurring bargaining patterns emerge. Skill: self-improving-negotiation Owner: jose-compu Summary: Logs redacted negotiation learnings (concession leaks, BATNA gaps, framing misses, objections, agreement risk). Optional project-scoped reminder hooks. extract-skill.sh is dry-run by default and writes a SKILL.md scaffold only with --write after explicit user approval. Does not accept terms, set pricing, or approve deals. Use when negotiations stall, conces

62
Rank
84
Safety
965
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 965 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17bzpdy0evfmqz6nx069npr3n84p7f2:self-improving-negotiation
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jose-compu-self-improving-negotiation/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

107,388 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: self-improving-negotiation
description: "Logs redacted negotiation learnings (concession leaks, BATNA gaps, framing misses, objections, agreement risk). Optional project-scoped reminder hooks. extract-skill.sh is dry-run by default and writes a SKILL.md scaffold only with --write after explicit user approval. Does not accept terms, set pricing, or approve deals. Use when negotiations stall, concessions exceed guardrails, terms are ambiguous, or recurring bargaining patterns emerge."
---

# Self-Improving Negotiation Skill

Log negotiation learnings, negotiation issues, and feature requests to markdown files for continuous improvement. Capture preparation gaps, framing misses, concession leakage, weak BATNA posture, recurring objections, escalation mistakes, contract-term ambiguity, and agreement quality risk.

Optional extras (off by default):
- project-scoped reminder hooks
- `extract-skill.sh` (dry-run unless `--write` and the user asked in this session)

Promote validated, redacted patterns into playbooks, objection libraries, concession guardrails, BATNA checklists, or deal review templates **after a reviewed diff and explicit approval**.

## Safety Posture

Default behavior is local markdown logging and reminders.

It does **not**:
- auto-accept terms
- commit pricing
- execute legal/financial approvals
- finalize agreements
- run network calls unless you choose ClawHub install or `git clone`
- write skill files unless you run `extract-skill.sh --write`

Always require explicit human approval for high-impact concessions and for final terms.

## Sensitive data

Do **not** log BATNA values, reservation prices, discount floors, confidential customer terms, legal advice, approval tokens, or raw transcripts. Use redacted process-level summaries (what went wrong, what guardrail to add). Keep `.learnings/` local or access-controlled; do not commit it until a human has reviewed entries.

## First-Use Initialisation

Before logging, ensure `.learnings/` exists in project/workspace root. Create missing files only:

```bash
mkdir -p .learnings
[ -f .learnings/LEARNINGS.md ] || printf "# Negotiation Learnings\n\nNegotiation strategy insights, framing improvements, BATNA lessons, concession tactics, objection handling patterns, escalation learnings, and agreement quality improvements.\n\n**Categories**: concession_leak | batna_weakness | framing_miss | objection_handling_gap | escalation_misalignment | value_articulation_gap | anchor_error | agreement_risk\n**Areas**: preparation | discovery | framing | bargaining | concessions | closing | stakeholder_alignment | escalation | contract_terms | follow_up\n\n---\n" > .learnings/LEARNINGS.md
[ -f .learnings/NEGOTIATION_ISSUES.md ] || printf "# Negotiation Issues Log\n\nNegotiation failures, concession breakdowns, unresolved redlines, escalation misalignment, and agreement quality risks.\n\n---\n" > .learnings/NEGOTIATION_ISSUES.md
[ -f .learnings/FEATURE_REQUESTS.md ] || printf "# Feature Requests\

_meta.json

{
  "ownerId": "kn78jat5kd20evgyxzp9dmryax84qap0",
  "slug": "self-improving-negotiation",
  "version": "1.0.2",
  "publishedAt": 1787948346993
}

references/examples.md

# Negotiation Entry Examples

Concrete examples of negotiation entries with realistic patterns.

## 1) Poor Anchor

```markdown
## [LRN-20260413-001] anchor_error

**Logged**: 2026-04-13T10:12:00Z
**Priority**: high
**Status**: pending
**Area**: framing

### Summary
Opening anchor was too close to fallback, reducing room for structured trades.

### Details
Team opened at a near-midpoint offer to appear collaborative. Counterparty immediately requested additional concessions, interpreting the anchor as soft.
```

## 2) Concession Without Reciprocity

```markdown
## [NEG-20260413-001] concession_leak

**Logged**: 2026-04-13T10:40:00Z
**Priority**: critical
**Status**: pending
**Area**: concessions

### Summary
Discount granted without reciprocal term extension or scope reduction.

### What Happened
Commercial concession was offered to keep momentum, but no matching commitment was captured.
```

## 3) BATNA Absent

```markdown
## [NEG-20260413-002] batna_weakness

**Logged**: 2026-04-13T11:05:00Z
**Priority**: high
**Status**: pending
**Area**: preparation

### Summary
No actionable BATNA defined before first pricing round.

### Root Cause
Preparation focused on target terms only; walk-away point and fallback option were not validated.
```

## 4) Stakeholder Escalation Mismatch

```markdown
## [NEG-20260413-003] escalation_misalignment

**Logged**: 2026-04-13T11:50:00Z
**Priority**: high
**Status**: pending
**Area**: escalation

### Summary
Escalation sent to executive sponsor before legal/procurement owner alignment.

### Impact
Escalation created urgency noise but did not unblock the actual approval path.
```

## 5) Contract Term Ambiguity

```markdown
## [NEG-20260413-004] agreement_risk

**Logged**: 2026-04-13T12:20:00Z
**Priority**: critical
**Status**: pending
**Area**: contract_terms

### Summary
Renewal clause had ambiguous trigger language and unresolved fallback.

### Prevention
Require explicit term definitions and final legal signoff before recommending close.
```

## 6) Value Reframing Success

```markdown
## [LRN-20260413-002] value_articulation_gap

**Logged**: 2026-04-13T13:10:00Z
**Priority**: medium
**Status**: resolved
**Area**: framing

### Summary
Shift from unit-price discussion to risk-reduction framing improved acceptance.

### Outcome
Counterparty accepted narrower concession after quantified value framing.
```

## 7) Promoted Playbook

```markdown
## [LRN-20260412-004] objection_handling_gap

**Logged**: 2026-04-12T16:30:00Z
**Priority**: high
**Status**: promoted
**Promoted**: negotiation_playbook
**Area**: bargaining

### Summary
Recurring implementation-risk objection now handled through 3-step response flow.

### Metadata
- Recurrence-Count: 5
- Pattern-Key: objection.implementation_risk
```

## 8) Promoted Skill

```markdown
## [LRN-20260410-001] framing_miss

**Logged**: 2026-04-10T09:00:00Z
**Priority**: high
**Status**: promoted_to_skill
**Skill-Path**: skills/value-anchor-reset
**Area**: framing

### Summary
Reusab

references/hooks-setup.md

# Hook Setup Guide

Configure automatic negotiation self-improvement reminders for AI agents.

## Overview

Hooks provide two optional automations:
- `UserPromptSubmit`: inject negotiation reminder
- `PostToolUse (Bash)`: detect negotiation risk signals in command output

Both are reminder-only.

## Claude Code Setup

Create `.claude/settings.json`:

```json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "counteroffer|concession|anchor|BATNA|walk-away|term.?sheet",
        "hooks": [
          {
            "type": "command",
            "command": "./skills/self-improving-negotiation/scripts/activator.sh"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "./skills/self-improving-negotiation/scripts/error-detector.sh"
          }
        ]
      }
    ]
  }
}
```

## Codex Setup

Use the same hook pattern in `.codex/settings.json`.

## Verification

```bash
bash ./skills/self-improving-negotiation/scripts/activator.sh
CLAUDE_TOOL_OUTPUT="deadlock and unresolved redline" bash ./skills/self-improving-negotiation/scripts/error-detector.sh
```

## Troubleshooting

1. Ensure script permissions:
   ```bash
   chmod +x ./skills/self-improving-negotiation/scripts/*.sh
   ```
2. Validate shell syntax:
   ```bash
   bash -n ./skills/self-improving-negotiation/scripts/activator.sh
   bash -n ./skills/self-improving-negotiation/scripts/error-detector.sh
   bash -n ./skills/self-improving-negotiation/scripts/extract-skill.sh
   ```
3. Use absolute paths if relative resolution fails.

## Safety

Keep this file in the **project** (`.claude/settings.json`). Do not install user-level hooks.
Hook scripts do not execute agreement actions.
They only emit reminders to log and review negotiation patterns.
Do not log BATNA values, pricing floors, confidential terms, or transcripts.

references/openclaw-integration.md

# OpenClaw Integration

Complete setup and usage guide for `self-improving-negotiation` in OpenClaw.

Repository:
- `https://github.com/jose-compu/self-improving-negotiation.git`

## Workspace Structure

```text
~/.openclaw/
├── workspace/
│   ├── AGENTS.md
│   ├── SOUL.md
│   ├── TOOLS.md
│   ├── MEMORY.md
│   └── .learnings/
│       ├── LEARNINGS.md
│       ├── NEGOTIATION_ISSUES.md
│       └── FEATURE_REQUESTS.md
├── skills/
│   └── self-improving-negotiation/
└── hooks/
    └── self-improving-negotiation/
```

## Install

Prefer the registry install (network to ClawHub):

```bash
clawdhub install self-improving-negotiation
```

Manual clone is optional network access to GitHub. Use only if you trust that repository:

```bash
git clone https://github.com/jose-compu/self-improving-negotiation.git ~/.openclaw/skills/self-improving-negotiation
```

## Optional Hook

Do **not** copy hooks into `~/.openclaw/hooks/` (user-global). Keep them in this workspace:

```bash
mkdir -p .openclaw/hooks
cp -r hooks/openclaw .openclaw/hooks/self-improving-negotiation
```

## Promotion Targets

Promote recurring learnings to:
- negotiation playbooks
- objection libraries
- concession guardrails
- BATNA checklists
- deal review templates

## Trigger Mapping

| Trigger | Log Type | Category |
|---------|----------|----------|
| Deadlock | `NEG` | `framing_miss` / `escalation_misalignment` |
| Repeated objections | `LRN` | `objection_handling_gap` |
| Concession leakage | `NEG` | `concession_leak` |
| BATNA undefined | `NEG` | `batna_weakness` |
| Term ambiguity | `NEG` | `agreement_risk` |
| Anchor drift | `LRN` | `anchor_error` |

## Safety Note

Skill and hooks are reminder-only and do not auto-accept terms or approvals.
Do not log BATNA values, pricing floors, confidential terms, legal advice, or transcripts.
`extract-skill.sh` is dry-run unless `--write` is passed after an explicit user request.

Sponsored

Ads related to self-improving-negotiation and adjacent AI workflows.