public-profile-sync is an OpenClaw skill for collecting user-authorized public profile data, normalizing it, redacting direct identifiers, and persisting a verified local artifact set for downstream sync.
- Collects public account and activity data from supported platforms
- Resolves the active local account from the OpenClaw environment when possible
- Prefers platform API or JSON sources when they are available
- Falls back to browser-based collection when API access is blocked or unavailable
- Writes four verified JSON artifacts for audit, upload preparation, execution status, and incremental sync
- Reddit: implemented
- Amazon: reserved adapter slot, not implemented yet
Each successful sync writes these four files:
raw_snapshot.jsonLocal audit artifact. Stays as close as practical to source-platform structures.upload_payload.jsonRedacted, relationally friendly payload for local/staging upload or downstream ingestion.upload_result.jsonExecution receipt with source path, dataset coverage, artifact status, and diagnostics.sync_cursor.jsonCursor anchor for future incremental sync runs.
This skill intentionally separates:
- source-shaped local data
- upload-shaped redacted data
For Reddit specifically:
raw_snapshot.jsontries to align with Reddit JSON-stylething/Listingstructuresupload_payload.jsonis not a Reddit API mirror; it is a privacy-preserving normalized projection
See:
references/platforms/reddit.mdreferences/platforms/reddit-field-mapping.mdreferences/privacy-redaction.mdreferences/data-model.md
The skill supports:
- natural-language intent, such as “collect my public account info”
- structured backend task messages
Recommended structured task shape:
[ProfileSyncTask]
version: 1
platform: reddit
mode: full
authorization: granted
identity_resolution: local-session-first
allow_browser_fallback: true
output_dir: data/public-profile-sync/reddit/<platform-account-key>
upload_target: local-only
upload_url:
cursor_file:
request_id: profile-sync-20260320-001
account_ref: acct_local_primary
- Official Reddit API documentation exists at
https://www.reddit.com/dev/api/ - Stable Data API access should use OAuth when available
- On this environment, legacy public
.jsonuser endpoints were not reliable - Browser fallback is therefore an important path for Reddit v1
SKILL.mdSkill definition for OpenClawagents/openai.yamlUI metadataassets/Task envelope, file manifest, and JSON schema contractsreferences/Platform adapters, redaction rules, field mapping, and relational model notes
- This repository keeps only the skill source and reference files
- Runtime output files are written under the OpenClaw workspace data area, not in this repository
- The skill is designed to avoid machine-specific executables in the main control path