plan2meal
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
02 资源文件 12
- 参考文档_meta.json456 B
- 脚本eslint.config.mjs1.4 KB
- 参考文档package-lock.json54.3 KB
- 参考文档package.json871 B
- 参考文档README.md2.2 KB
- 脚本src/commands.ts11.6 KB
- 脚本src/convex.ts5.3 KB
- 脚本src/device-auth.ts4.2 KB
- 脚本src/index.ts12.9 KB
- 脚本src/test.ts1.6 KB
- 脚本src/utils.ts1.0 KB
- 参考文档tsconfig.json445 B
03 SKILL.md 正文
Plan2Meal Skill
A ClawdHub skill for managing recipes and grocery lists via Plan2Meal, a React Native recipe app.
Features
- Recipe Management: Add recipes from URLs, search, view, and delete your recipes
- Grocery Lists: Create and manage shopping lists with recipes
- Backend Authentication: Secure authentication via Plan2Meal web app (no secrets in skill)
- Recipe Extraction: Automatically fetch recipe metadata from URLs
- Telegram Formatting: Pretty-printed output for Telegram
Setup
-
Install via ClawdHub:
clawdhub install plan2meal -
Configure environment variables:
cp .env.example .env # Edit .env with your credentials -
Required environment variables:
PLAN2MEAL_API_URL: Your Plan2Meal backend API URL (e.g.,https://api.plan2meal.app)
Optional:
PLAN2MEAL_AUTH_URL: Custom authentication URL (defaults tohttps://app.plan2meal.com/sign-in)
Important:
- Public Skill: This skill is published on ClawdHub. No secrets are stored in the skill.
- Authentication: Users authenticate via your Plan2Meal web app, then copy a session token back to Telegram.
- Backend Security: All OAuth credentials (GitHub, Convex) are configured in your backend only, never exposed.
Commands
Recipe Commands
| Command | Description |
|---|---|
plan2meal add <url> |
Fetch recipe metadata from URL and create recipe |
plan2meal list |
List your recent recipes |
plan2meal search <term> |
Search your recipes |
plan2meal show <id> |
Show detailed recipe information |
plan2meal delete <id> |
Delete a recipe |
Grocery List Commands
| Command | Description |
|---|---|
plan2meal lists |
List all your grocery lists |
plan2meal list-show <id> |
Show grocery list with items |
plan2meal list-create <name> |
Create a new grocery list |
plan2meal list-add <listId> <recipeId> |
Add recipe to grocery list |
Help
| Command | Description |
|---|---|
plan2meal help |
Show all available commands |
Usage Examples
Adding a Recipe
plan2meal add https://www.allrecipes.com/recipe/12345/pasta
Output:
✅ Recipe added successfully!
? Recipe Details
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Name: Classic Pasta
Source: allrecipes.com
Method: firecrawl-json (credit used)
Time: 15 min prep + 20 min cook
? Ingredients (4 servings)
• 1 lb pasta
• 2 cups marinara sauce
• 1/2 cup parmesan
? Steps
1. Boil water...
Searching Recipes
plan2meal search pasta
Creating a Grocery List
plan2meal list-create Weekly Shopping
Adding Recipe to List
plan2meal list-add <listId> <recipeId>
Recipe Limits
The free tier allows up to 5 recipes. You'll receive a warning when approaching this limit.
Authentication Architecture
How It Works
Skill Owner Setup (one-time):
- Configure your Plan2Meal backend API URL in the skill
- Your backend handles all OAuth (GitHub credentials configured in Convex environment variables)
- Your backend is configured with the Convex URL (stays private)
End User Flow:
- User sends a command (e.g.,
plan2meal list) - Skill responds with a link to your Plan2Meal sign-in page (
app.plan2meal.com/sign-in) - User clicks the link and authenticates with GitHub via your web app
- Your backend (using Convex Auth) handles the GitHub OAuth flow
- After successful authentication, your backend shows the user a session token
- User copies the token and sends it back to Telegram (or types
token: <token>) - Skill validates the token with your backend and stores it securely
Backend Processing:
- Your Plan2Meal backend uses Convex Auth with GitHub provider
- GitHub OAuth credentials are stored in Convex environment variables (never exposed)
- After GitHub auth, backend generates a session token for the user
- Skill sends session token to your backend API for all requests
- Your backend validates the token and makes Convex API calls on behalf of the user
- Convex URL is never exposed to users or the skill
Key Points
- Public Skill: No secrets in the skill - safe to publish on ClawdHub
- Backend OAuth: All OAuth credentials (GitHub, Convex) stay in your backend
- User Identification: Your backend maps session tokens to Convex users internally
- Privacy: Convex URL stays private in your backend only
- Security: Session tokens are validated with your backend before use
License
MIT
04 同仓库更多 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.
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).
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.
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.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.