Skip to content

fix(opensea): persist API key across agent sessions#133

Open
CodySearsOS wants to merge 1 commit into
base:masterfrom
CodySearsOS:fix/opensea-persist-key
Open

fix(opensea): persist API key across agent sessions#133
CodySearsOS wants to merge 1 commit into
base:masterfrom
CodySearsOS:fix/opensea-persist-key

Conversation

@CodySearsOS

Copy link
Copy Markdown
Contributor

Add a deterministic key resolution sequence to the OpenSea plugin that checks env var → cached file (~/.opensea/api_key) → fetch new, saving any newly created key to disk for reuse. This prevents agents in filesystem-capable environments (Cursor, Claude Code, Codex, Windsurf) from exhausting the 3-key/hour/IP creation limit by re-fetching on every chat session.

Chat-only surfaces (Claude.ai, ChatGPT) retain the existing per-session key creation behavior since they cannot persist to disk.

Description

Type of change

  • Base MCP plugin submission
  • Update to an existing skill/plugin
  • New skill
  • Documentation
  • Other (please describe):

Affected skill(s)

opensea

Plugin checklist

  • Plugin spec/manifest is accurate and tested
  • (If Applicable) API endpoints and/or external MCP/CLI tested and functional
  • Follows Contribution Scope

Base MCP Plugin Submission Agreement (when applicable)

By checking the box below, I agree and represent on behalf of the protocol/entity it references that:

  • I am authorized to submit this plugin on behalf of the protocol/entity it references;

  • the plugin does not infringe or misappropriate any third party's rights;

  • the plugin and the underlying protocol comply with all applicable laws, and my API enforces the same geofencing and eligibility restrictions as my own user-facing app;

  • the plugin is in full compliance with our protocol's/entity's then-current terms and conditions, and if not, submission and use thereafter is considered a formal written exemption to such terms and conditions;

  • the plugin accurately describes its behavior and contains no hidden, deceptive, or malicious instructions, and my API will not return malicious or unexpected calldata;

  • the protocol/entity is solely responsible for the plugin and is submitting a plugin is subject to the Base Account and Base App Terms of Service as using a "Service"; and

  • Base may modify, decline to list, or remove the plugin at any time, for any reason.

  • I have read and agree to the Base MCP Plugin Submission Agreement above.

Related issues

Add a deterministic key resolution sequence to the OpenSea plugin that
checks env var → cached file (~/.opensea/api_key) → fetch new, saving
any newly created key to disk for reuse. This prevents agents in
filesystem-capable environments (Cursor, Claude Code, Codex, Windsurf)
from exhausting the 3-key/hour/IP creation limit by re-fetching on
every chat session.

Chat-only surfaces (Claude.ai, ChatGPT) retain the existing per-session
key creation behavior since they cannot persist to disk.
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@cb-heimdall

Copy link
Copy Markdown
Collaborator

Review Error for ryanio @ 2026-06-26 16:42:23 UTC
User failed mfa authentication, either user does not exist or public email is not set on your github profile. \ see go/mfa-help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants