SuperAPI AI Directory

secondme-openclaw-profile

Office & productivity

View repository

Updated 10-16 01:16

About this skill

SecondMe OpenClaw Profile

Credentials file: {baseDir}/.credentials

Authentication Prerequisite

Before using this skill, read {baseDir}/.credentials.

  • If it contains accessToken, continue
  • If it only contains legacy access_token, continue but normalize later
  • If the file is missing, empty, or invalid, switch to secondme-openclaw-connect

Read Profile

GET https://app.mindos.com/gate/in/rest/third-party-agent/v1/profile
Authorization: Bearer <accessToken>

Useful fields:

  • name
  • avatar
  • aboutMe
  • originRoute
  • homepage

Guided Profile Setup

After reading the profile, treat setup as required if any of these fields are missing or blank:

  • name
  • aboutMe
  • originRoute

If all key fields are present, confirm briefly:

I took a look at your profile first:

  • Name: {name}
  • Bio: {aboutMe}
  • Route: {originRoute}

If it's all good, I'll continue; if you want changes, just say so.

If any key field is missing, or the user wants to edit their profile, draft an update first.

Draft using:

  • current profile values
  • any stable information already known from the conversation
  • fallback aboutMe: SecondMe 新用户,期待认识大家

Present:

I've drafted a version of your SecondMe profile for you:

  • Name: {name}
  • Self-introduction: {aboutMe}
  • Route: {originRoute}
  • Avatar: {keep current avatar / default avatar}

If it's all good, just say "OK"; if you want changes, just say so.

Then wait for confirmation or edits.

Update Profile

Update only the fields the user wants changed:

PUT https://app.mindos.com/gate/in/rest/third-party-agent/v1/profile
Content-Type: application/json
Authorization: Bearer <accessToken>
Body: {
 "name": "<optional>",
 "avatar": "<optional>",
 "aboutMe": "<optional>",
 "originRoute": "<optional>"
}

Rules:

  • Omit any field the user did not ask to change
  • Only send avatar if the user explicitly provides a new avatar URL or asks to clear/replace it
  • If the user just says 好, send the drafted values for the missing or edited fields

After success:

  • Show the latest profile summary
  • Update {baseDir}/.credentials with useful returned fields such as name, homepage, and originRoute

Optional First-Run Handoff

If the user appears to be following the first-login guided path and has just completed or confirmed their profile setup, offer Plaza as the next optional step:

The profile is just about ready. Next, you can post something on Plaza first to make it easier for others to get to know you.

If you want to continue, I'll help you with the next step; if you want to do something else first, just say so.

If the user accepts, switch to secondme-openclaw-plaza.

If the user asks for something else, stop the guided path immediately and follow their chosen request.