← Back to Skills Marketplace
snailb1007

Nutrition Provider R2

by snailb1007 · GitHub ↗ · v0.1.2 · MIT-0
cross-platform ⚠ suspicious
309
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install nutrition-provider-r2
Description
crawl the Vietnam nutrition provider page-by-page with scrapling-official and upload each raw provider record to Cloudflare R2 after fetch. use for provider-...
Usage Guidance
What to check before installing: - The SKILL.md requires Cloudflare R2 credentials (R2_ACCOUNT_ID, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, R2_BUCKET) but the registry metadata does not declare these environment variables — ask the publisher to update metadata so you clearly see required secrets before install. - Inspect the included script (scripts/upload_page_to_r2.py) yourself: it uploads objects to a Cloudflare R2 endpoint constructed from R2_ACCOUNT_ID and uses boto3.put_object. If you provide credentials, ensure they are scoped only to the intended bucket and consider using short-lived/limited keys. - The package's install spec installs only the 'uv' brew formula; Python dependencies (boto3/botocore) appear only in the script comments. Confirm how your environment will install those dependencies (uv may manage them, or you may need to pip install) to avoid unexpected network installs at runtime. - Confirm you trust the source: the skill will create many objects in your R2 bucket (one per provider record). Consider testing in a sandbox bucket/run-id to verify behavior and naming (keys follow the documented layout) and to validate pacing (60s per page) to avoid accidental overuse or costs. - Verify scrapling-official is present and configured exactly as the instructions require; the skill defers crawling entirely to that helper. If the publisher updates the package metadata to declare the required env vars and documents how Python deps are installed, the inconsistencies would be resolved and the package would be more trustworthy.
Capability Analysis
Type: OpenClaw Skill Name: nutrition-provider-r2 Version: 0.1.2 The skill bundle is a specialized crawler designed to extract nutritional data from a specific Vietnamese government portal and upload it to a user-configured Cloudflare R2 bucket. The Python script `scripts/upload_page_to_r2.py` uses standard libraries (boto3) for S3-compatible uploads and includes proper input sanitization for object keys; the instructions in `SKILL.md` emphasize polite crawling practices, such as a 60-second pacing window per page.
Capability Assessment
Purpose & Capability
The skill's code and instructions align with the description: it expects scrapling-official to crawl the site and uses a helper script to split page JSON into per-record objects and upload them to Cloudflare R2. Requiring the 'uv' runner is plausible for executing the provided helper. Overall capabilities match the stated purpose.
Instruction Scope
SKILL.md stays within the stated scope: it directs the agent to use scrapling-official for fetching, to preserve raw JSON, to split data into per-record objects, and upload them to R2. It references only included files (references/source-notes.md) and the provided helper script. It does not instruct unrelated data collection or exfiltration to third-party endpoints beyond Cloudflare R2.
Install Mechanism
Install spec only installs the 'uv' brew formula which is consistent with the script's shebang. However, the Python dependencies required by the script (boto3, botocore) are not declared in the package install spec (they are only in the script header comments). This may lead to runtime failures or hidden install steps depending on how 'uv' handles dependencies; the install mechanism is incomplete and should be clarified.
Credentials
The runtime instructions explicitly require Cloudflare R2 credentials (R2_ACCOUNT_ID, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, R2_BUCKET), but the registry metadata lists no required environment variables or primary credential. That mismatch is significant: the skill needs sensitive credentials to function but does not declare them in metadata for the user to see at install time. Confirming and limiting the required credentials is necessary before installing.
Persistence & Privilege
The skill is not force-included (always: false) and does not request unusual persistent privileges. It does not modify other skills or agent-wide settings. Autonomous invocation is allowed (platform default) but is not combined with other high-risk flags here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install nutrition-provider-r2
  3. After installation, invoke the skill by name or use /nutrition-provider-r2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.2
Expanded the skill to support both the Vietnam nutrition foods lookup and prepared-dish lookup flows, documented the second canonical API and schema, clarified per-record uploads for both sources, and added guidance to separate R2 namespaces between foods and dishes.
v0.1.1
Refined the skill into a scrapling-official wrapper, switched the default storage model to per-food uploads, added duplicate-safe food keying and extract-foods helper mode, and clarified that page-level payloads are only for debug or failure artifacts.
v0.1.0
Initial publish of the provider-specific scrapling-to-R2 wrapper skill.
Metadata
Slug nutrition-provider-r2
Version 0.1.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Nutrition Provider R2?

crawl the Vietnam nutrition provider page-by-page with scrapling-official and upload each raw provider record to Cloudflare R2 after fetch. use for provider-... It is an AI Agent Skill for Claude Code / OpenClaw, with 309 downloads so far.

How do I install Nutrition Provider R2?

Run "/install nutrition-provider-r2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Nutrition Provider R2 free?

Yes, Nutrition Provider R2 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Nutrition Provider R2 support?

Nutrition Provider R2 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Nutrition Provider R2?

It is built and maintained by snailb1007 (@snailb1007); the current version is v0.1.2.

💬 Comments