Skip to content
Back to skills

Glass2claw

ASecurity

A logic-based protocol for organizing life-captures into Notion. Routes images from WhatsApp into categorized Notion databases via your private Discord server channels using OpenClaw's sessions_send tool.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
devopsgoapidatabase

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill glass2claw --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Glass2claw?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Glass2claw
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-glass2claw/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-glass2claw)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: glass2claw
description: "A logic-based protocol for organizing life-captures into Notion. Routes images from WhatsApp into categorized Notion databases via your private Discord server channels using OpenClaw's sessions_send tool."
metadata:
  {
    "openclaw":
      {
        "emoji": "πŸ‘οΈ",
        "requires": {
          "env": ["NOTION_API_KEY"],
          "configPaths": ["configs/vision_router.md"],
          "tools": ["sessions_send", "message", "web_fetch"]
        },
        "dataFlow": {
          "input": "Image URL forwarded from WhatsApp via sessions_send",
          "routing": "Agent reads configs/vision_router.md, classifies image intent (Wine/Tea/Contacts), then calls sessions_send to the matching Discord channel session key",
          "output": "Structured entry written to the corresponding Notion database using NOTION_API_KEY"
        }
      },
  }
---

# glass2claw: The Vision Router Protocol

`glass2claw` provides logical routing templates to organize visual captures from WhatsApp into structured Notion databases, via your private Discord server.

## πŸ—οΈ Design Philosophy

This skill is **instruction-only**. No binaries, no curl, no exec commands. It relies entirely on native OpenClaw platform tools:

| Step | Tool Used | What it does |
|------|-----------|--------------|
| Receive image | `sessions_send` | WhatsApp session forwards image URL to Discord hub session |
| Classify intent | Agent reasoning | Determines Wine / Tea / Contacts from image |
| Route | `sessions_send` | Hub sends to the correct specialist Discord channel session |
| Store | `message` + Notion API | Specialist posts image and writes entry to Notion database |

**No data leaves your private OpenClaw infrastructure.** All routing happens between your own Discord server's channels.

## πŸš€ Configuration

### 1. Required Config File: `configs/vision_router.md`

Create this file in your OpenClaw workspace at the exact path `configs/vision_router.md`. The Agent reads this file to resolve Notion database IDs. This path is declared in the skill metadata under `configPaths`.

```markdown
# Vision Router Config

## Notion Database IDs
- Wine Cellar: [YOUR_NOTION_DATABASE_ID]
- Tea Closet: [YOUR_NOTION_DATABASE_ID]
- Contacts: [YOUR_NOTION_DATABASE_ID]

## Discord Session Keys (hub β†’ specialist routing)
- Wine session: agent:main:discord:channel:[YOUR_WINE_CHANNEL_ID]
- Tea session: agent:main:discord:channel:[YOUR_TEA_CHANNEL_ID]
- Contacts session: agent:main:discord:channel:[YOUR_CONTACTS_CHANNEL_ID]
```

### 2. Apply the Templates

- **Hub routing logic**: `SAMPLE_AGENT.md` β€” paste into your hub Discord channel's AGENTS.md or SOUL.md
- **Wine specialist persona**: `SAMPLE_SOUL_WINE.md` β€” paste into your wine channel's SOUL.md

## πŸ”„ Data Flow (explicit)

```
WhatsApp (image received)
  β†’ sessions_send β†’ Discord #hub channel session
      β†’ Agent classifies: Wine | Tea | Contacts
      β†’ sessions_send β†’ matching Discord specialist channel session
          β†’ message tool: posts image to channel
          β†’ Notion API (NOTION_API_KEY): writes structured entry
```

All hops are within your private Discord server. The session keys in `configs/vision_router.md` are user-defined and point only to channels you own.

## πŸ›‘οΈ Best Practices

- **Least Privilege**: Scope your Notion token to only the three required databases
- **Private channels only**: Use private Discord servers, never public ones
- **No agent discretion on destinations**: All target session keys are hardcoded in `configs/vision_router.md`, not inferred by the agent

---
*Created by JonathanJing | AI Reliability Architect*

Files in this skill

  • SAMPLE_AGENT.md855 B
  • SAMPLE_SOUL_WINE.md968 B
  • SKILL.md3.6 KB
  • _meta.json465 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops β†’

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.