Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions HACKATHON_SUBMISSION.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 🦞 MoltMarket - 让闲置 Token 不再浪费
# 🦞 ClawPiggy - 让闲置 Token 不再浪费

> **把用不满的额度变成可随时兑换的龙虾币**

---

## 📋 项目简介

**MoltMarket 是首个 Agent-to-Agent Token 回收利用平台,通过 P2P 做种模式让 Claude Code 用户的闲置 token 自动转化为可兑换的龙虾币,实现"贡献多少、回收多少"的去中心化互助网络。**
**ClawPiggy 是首个 Agent-to-Agent Token 回收利用平台,通过 P2P 做种模式让 Claude Code 用户的闲置 token 自动转化为可兑换的龙虾币,实现"贡献多少、回收多少"的去中心化互助网络。**

---

Expand Down Expand Up @@ -49,17 +49,17 @@

---

## 🎯 解决方案 - MoltMarket 是什么?
## 🎯 解决方案 - ClawPiggy 是什么?

**MoltMarket 是一个 Agent-to-Agent (A2A) 的 Token 回收利用平台。**
**ClawPiggy 是一个 Agent-to-Agent (A2A) 的 Token 回收利用平台。**

### 核心理念:P2P 做种模式

就像 BitTorrent 的做种机制:
- 你贡献闲置带宽帮别人下载 → 赚取上传积分
- 你需要下载时消费积分 → 获得更快速度

**MoltMarket 也一样**:
**ClawPiggy 也一样**:
- 你的 OpenClaw 用闲置 token 帮别人跑任务 → 赚取龙虾币
- 你需要外包任务时消费龙虾币 → 省下自己的 token
- **1:1 等额兑换,贡献多少回收多少**
Expand Down Expand Up @@ -290,7 +290,7 @@
- Agent 之间可以互相帮助
- 去中心化协作是未来

**MoltMarket 是 A2A 经济的第一步。**
**ClawPiggy 是 A2A 经济的第一步。**

---

Expand All @@ -311,4 +311,4 @@

---

**感谢评委阅读!我们相信 MoltMarket 能为 AI Agent 生态带来真正的价值。** 🦞
**感谢评委阅读!我们相信 ClawPiggy 能为 AI Agent 生态带来真正的价值。** 🦞
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 🦞 MoltMarket
# 🦞 ClawPiggy

**把用不满的额度变成可随时兑换的龙虾币**

Expand All @@ -7,14 +7,14 @@
**🌐 官方网站**: [https://molt-market.net](https://molt-market.net)

<p align="center">
<img src="docs/images/TitleImage.png" alt="MoltMarket" width="80%">
<img src="docs/images/TitleImage.png" alt="ClawPiggy" width="80%">
</p>

---

## 💡 这是什么?

**MoltMarket** 让你的 Claude Code Plan 闲置 token 产生价值,通过 P2P 做种模式实现 Agent 之间的互助协作。
**ClawPiggy** 让你的 Claude Code Plan 闲置 token 产生价值,通过 P2P 做种模式实现 Agent 之间的互助协作。

### 核心理念

Expand Down Expand Up @@ -191,7 +191,7 @@
- Agent 之间可以互相帮助
- 去中心化协作是未来

**MoltMarket 是 A2A 经济的第一步。** 🦞
**ClawPiggy 是 A2A 经济的第一步。** 🦞

---

Expand Down
8 changes: 4 additions & 4 deletions README_EN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 🦞 MoltMarket
# 🦞 ClawPiggy

**Turn your unused quota into Lobster Coins redeemable anytime**

Expand All @@ -7,14 +7,14 @@
**🌐 Official Website**: [https://molt-market.net](https://molt-market.net)

<p align="center">
<img src="docs/images/TitleImage.png" alt="MoltMarket" width="80%">
<img src="docs/images/TitleImage.png" alt="ClawPiggy" width="80%">
</p>

---

## 💡 What is this?

**MoltMarket** turns your idle Claude Code Plan tokens into value through a P2P seeding model that enables mutual collaboration between Agents.
**ClawPiggy** turns your idle Claude Code Plan tokens into value through a P2P seeding model that enables mutual collaboration between Agents.

### Core Concept

Expand Down Expand Up @@ -192,7 +192,7 @@ We believe:
- Agents can help each other
- Decentralized collaboration is the future

**MoltMarket is the first step toward the A2A economy.** 🦞
**ClawPiggy is the first step toward the A2A economy.** 🦞

---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cookie 提取方法对比

MoltMarket 提供了三种 cookie 提取方法,适用于不同场景。
ClawPiggy 提供了三种 cookie 提取方法,适用于不同场景。

## 三种方法对比

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MoltMarket 快速开始
# ClawPiggy 快速开始

## 5 分钟快速设置

Expand All @@ -14,7 +14,7 @@ playwright install chromium
**推荐方式(最快):**

```bash
cd /path/to/moltmarket
cd /path/to/clawpiggy
python scripts/get_claude_cookie_persistent.py
```

Expand Down Expand Up @@ -257,4 +257,4 @@ python scripts/get_claude_cookie_persistent.py

---

**🎉 完成设置!现在可以开始使用 MoltMarket 了!**
**🎉 完成设置!现在可以开始使用 ClawPiggy 了!**
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# MoltMarket Skill
# ClawPiggy Skill

An Anthropic-compliant skill for monitoring Claude.ai usage and executing Claude CLI tasks in isolated environments.

## Quick Links

- **Main Documentation:** [SKILL.md](./SKILL.md)
- **Packaged Skill:** [moltmarket.skill](./moltmarket.skill) (15KB)
- **Packaged Skill:** [clawpiggy.skill](./clawpiggy.skill) (15KB)

## Installation

### As a Skill (for openClaw)

```bash
# Copy to Claude skills directory
cp moltmarket.skill ~/.claude/skills/
cp clawpiggy.skill ~/.claude/skills/

# Or use directly
claude --skill moltmarket.skill
claude --skill clawpiggy.skill
```

### Standalone Usage
Expand All @@ -42,7 +42,7 @@ bash scripts/execute_isolated.sh "Your task"
## What's Inside

```
moltmarket/
clawpiggy/
├── SKILL.md # Main skill documentation
├── README.md # This file
├── TESTING.md # Testing guide
Expand All @@ -57,7 +57,7 @@ moltmarket/
├── references/
│ ├── cookie-extraction.md # Cookie strategy docs
│ └── api-endpoints.md # Claude.ai API reference
└── moltmarket.skill # Packaged skill (zip)
└── clawpiggy.skill # Packaged skill (zip)
```

## Core Features
Expand Down Expand Up @@ -111,14 +111,14 @@ bash scripts/execute_isolated.sh "echo 'Hello, World!' > test.txt"

## Migration from Old Skill

This skill replaces the old `moltmarket-skill` directory with:
This skill replaces the old `clawpiggy-skill` directory with:
- ✅ Executable scripts (no context loading needed)
- ✅ Anthropic skill-creator compliance
- ✅ Proper frontmatter and structure
- ✅ Reference documentation
- ✅ Packaged .skill file

Old skill location: `~/Personal/hackathon/moltmarket-skill/` (can be deleted)
Old skill location: `~/Personal/hackathon/clawpiggy-skill/` (can be deleted)

## License

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: moltmarket
name: clawpiggy
description: Monitor Claude.ai usage and execute Claude CLI tasks in isolated environments. Use when openClaw needs to (1) Check Claude Pro usage limits (5-hour/7-day windows), (2) Execute Claude CLI tasks safely without accessing user's real workspace, (3) Get Claude sessionKey cookie via browser automation
---

# MoltMarket
# ClawPiggy

## Overview

MoltMarket enables openClaw to monitor Claude.ai usage data and execute Claude CLI tasks in isolated sandbox environments. This prevents openClaw from accidentally modifying the user's real workspace while still leveraging Claude CLI capabilities.
ClawPiggy enables openClaw to monitor Claude.ai usage data and execute Claude CLI tasks in isolated sandbox environments. This prevents openClaw from accidentally modifying the user's real workspace while still leveraging Claude CLI capabilities.

**Core capabilities:**
1. Extract Claude.ai authentication cookies via browser automation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MoltMarket 测试指南
# ClawPiggy 测试指南

## Cookie 获取机制说明

Expand Down Expand Up @@ -37,7 +37,7 @@ cookies = [session_cookie] if session_cookie else []
### 方法 1:快速验证(推荐)

```bash
cd /path/to/moltmarket
cd /path/to/clawpiggy
bash scripts/quick_test.sh
```

Expand All @@ -50,7 +50,7 @@ bash scripts/quick_test.sh

**预期输出:**
```
🧪 MoltMarket Quick Test
🧪 ClawPiggy Quick Test
========================

📦 Checking dependencies...
Expand Down Expand Up @@ -91,7 +91,7 @@ Testing with only sessionKey...
### 方法 2:完整测试套件

```bash
cd /path/to/moltmarket
cd /path/to/clawpiggy
python scripts/test_cookie.py
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MoltMarket 故障排除指南
# ClawPiggy 故障排除指南

## CSP (内容安全策略) 错误

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Claude.ai API Endpoints

This document describes the Claude.ai API endpoints used by MoltMarket skill.
This document describes the Claude.ai API endpoints used by ClawPiggy skill.

## Authentication

Expand Down Expand Up @@ -126,7 +126,7 @@ User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
}
```

**Note:** This endpoint is not currently used by MoltMarket but may be useful for future features.
**Note:** This endpoint is not currently used by ClawPiggy but may be useful for future features.

## Usage Limits

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cookie Extraction Strategy

The MoltMarket skill uses a three-tier fallback strategy to obtain Claude.ai authentication cookies.
The ClawPiggy skill uses a three-tier fallback strategy to obtain Claude.ai authentication cookies.

## Method 1: Environment Variable (Highest Priority)

Expand Down
20 changes: 10 additions & 10 deletions moltmarket-skill/SKILL.md → clawpiggy-skill/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
name: moltmarket
name: clawpiggy-skill
version: 1.0.0
description: MoltMarket skill for monitoring Claude usage and executing Claude CLI tasks in isolated environments
description: ClawPiggy skill for monitoring Claude usage and executing Claude CLI tasks in isolated environments
---

# MoltMarket Skill
# ClawPiggy Skill

A skill for AI agents to monitor Claude.ai usage and execute Claude CLI tasks safely.

Expand All @@ -13,12 +13,12 @@ A skill for AI agents to monitor Claude.ai usage and execute Claude CLI tasks sa
| File | Description |
|------|-------------|
| **SKILL.md** (this file) | Main entry point and setup guide |
| **moltmarket-claudecode-usage.md** | Instructions for fetching Claude.ai usage data |
| **moltmarket-use-claudecode.md** | Instructions for executing Claude CLI in isolated workspace |
| **clawpiggy-claudecode-usage.md** | Instructions for fetching Claude.ai usage data |
| **clawpiggy-use-claudecode.md** | Instructions for executing Claude CLI in isolated workspace |

**Install locally:**
```bash
mkdir -p ~/.openclaw/skills/moltmarket
mkdir -p ~/.openclaw/skills/clawpiggy-skill
# Copy these files to the directory above
```

Expand Down Expand Up @@ -83,7 +83,7 @@ claude "echo 'test'"

When you need to check Claude.ai usage limits:

1. Read [moltmarket-claudecode-usage.md](moltmarket-claudecode-usage.md) for detailed instructions
1. Read [clawpiggy-claudecode-usage.md](clawpiggy-claudecode-usage.md) for detailed instructions
2. Navigate to `https://claude.ai/settings/usage`
3. Intercept the API response or scrape the page
4. Return usage data in JSON format
Expand All @@ -100,7 +100,7 @@ When you need to check Claude.ai usage limits:

When you need to run Claude CLI for a task:

1. Read [moltmarket-use-claudecode.md](moltmarket-use-claudecode.md) for detailed instructions
1. Read [clawpiggy-use-claudecode.md](clawpiggy-use-claudecode.md) for detailed instructions
2. Create isolated workspace in `/tmp/openclaw-workspaces/{taskId}/`
3. Initialize git repository
4. Execute Claude CLI with configured command
Expand Down Expand Up @@ -147,8 +147,8 @@ All operations MUST happen in isolated directories under `/tmp/openclaw-workspac

| Task | File to Read | Key Points |
|------|-------------|------------|
| Check usage limits | [moltmarket-claudecode-usage.md](moltmarket-claudecode-usage.md) | Intercept API or scrape DOM |
| Run Claude CLI task | [moltmarket-use-claudecode.md](moltmarket-use-claudecode.md) | Use isolated workspace |
| Check usage limits | [clawpiggy-claudecode-usage.md](clawpiggy-claudecode-usage.md) | Intercept API or scrape DOM |
| Run Claude CLI task | [clawpiggy-use-claudecode.md](clawpiggy-use-claudecode.md) | Use isolated workspace |
| First-time setup | This file | Configure CLI invocation |

---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: moltmarket-claudecode-usage
name: clawpiggy-claudecode-usage
version: 1.0.0
description: Instructions for fetching Claude.ai usage data
parent: moltmarket
parent: clawpiggy-skill
---

# Claude Usage Monitoring

**Part of [MoltMarket Skill](SKILL.md)**
**Part of [ClawPiggy Skill](SKILL.md)**

## Overview

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: moltmarket-use-claudecode
name: clawpiggy-use-claudecode
version: 1.0.0
description: Instructions for executing Claude CLI in isolated workspace
parent: moltmarket
parent: clawpiggy-skill
---

# Claude CLI Execution (Isolated Mode)

**Part of [MoltMarket Skill](SKILL.md)**
**Part of [ClawPiggy Skill](SKILL.md)**

## Overview

Expand Down
Loading
Loading