AGENT SKILL

appworld-authenticated-api-access-token

AppWorld tasks whose app APIs require authentication. Use when an app API call returns HTTP 401 or its docs list a required access_token parameter, and after an app login call has returned an access_token.

License 许可
Apache-2.0
所属仓库
RUC-NLPIR/FlashRSI
最近更新
2026-11-12
Stars
★ 394
Forks
23

01 前言 Front Matter

name
appworld-authenticated-api-access-token
flashrsi
{ "level": "topic", "algorithm": "evo_harness", "source_task_ids": [ "22cc237_1", "22cc237_2" ] }
description
AppWorld tasks whose app APIs require authentication. Use when an app API call returns HTTP 401 or its docs list a required access_token parameter, and after an app login call has returned an access_token.

03 SKILL.md 正文

AppWorld authenticated API calls: pass access_token explicitly

AppWorld app logins do not auto-authenticate later calls, and tokens are not persisted across separate shell execute blocks. Capture the returned access_token and pass it explicitly to every authenticated call.

Workflow

  1. Get the app credentials:
creds = apis.supervisor.show_account_passwords(app_name="simple_note")
  1. Call the app's login endpoint and capture the token:
tok = apis.simple_note.login(
    username=creds["username"], password=creds["password"]
)["access_token"]
  1. Pass the token explicitly to every authenticated call in the same script:
apis.simple_note.show_account(access_token=tok)
apis.simple_note.search_notes(access_token=tok)

Do not rely on a previous login call to authenticate the persistent session. If a later execute block still returns 401, re-run the login inside that same block and reuse the fresh token there.

When to apply

  • Any AppWorld app endpoint returns 401 about a missing, invalid, or expired access token.
  • The endpoint docs list a required access_token parameter.
  • Observed for simple_note and venmo; the same explicit-token pattern applies to gmail, spotify, splitwise, todoist, amazon, phone, and file_system.

Verification

Before answering, confirm the authenticated calls returned data rather than 401. If any 401 remains, capture the token from that same script's login call and re-issue the failed call with access_token=tok.

04 同仓库更多 Skills

RUC-NLPIR
RUC-NLPIR/FlashRSI

dynamic-resources

Example skill loaded from resources_discover

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

hermes-agent

Use the FlashRSI Hermes Snapshot's headless Python runtime, tools, sessions, and compression paths.

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

review-agent

Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

plugin-creator

Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries for plugin ordering and availability metadata, or update an existing local plugin during development with the CLI-driven cachebuster and reinstall flow.

★ 394