Skip to content
This repository was archived by the owner on Oct 20, 2026. It is now read-only.

feat: add usage skill - #17

Merged
andy-t-wang merged 2 commits into
mainfrom
improve-skill
Mar 28, 2026
Merged

andy-t-wang merged 2 commits into
mainfrom
improve-skill

Conversation

@andy-t-wang

Copy link
Copy Markdown
Contributor

Add usage skill

andy-t-wang and others added 2 commits March 27, 2026 14:13

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 67aedad3bf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +78 to +82
| Your wallet | Match `chainId` | Use `type` |
|--------------------|----------------------|-------------|
| EVM EOA | `eip155:*` | `eip191` |
| EVM Smart Contract | `eip155:*` | `eip1271` |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add Solana mapping to chain/type selection guidance

This skill advertises SIWS/Solana support, but the wallet mapping table only includes eip191 and eip1271. In the implementation, Solana challenges use solana:* with ed25519 (agentkit/src/declare.ts and agentkit/src/types.ts), so an agent following the current table cannot choose a valid type for Solana and will fail authentication on Solana-protected endpoints.

Useful? React with 👍 / 👎.

Comment on lines +159 to +160
type: "eip191", // "eip191" for EOA, "eip1271" for SCW
signature: signature, // hex string from signing

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Correct Solana signature encoding in header example

The Step 4 example labels signature as a hex string, but Solana verification decodes payload.signature as Base58 (agentkit/src/verify.ts), not hex. For any solana:* flow this instruction leads directly to Invalid Base58 encoding and a hard auth failure, so the guidance should be chain-specific (hex for EVM, Base58 for Solana).

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont support solana

@andy-t-wang
andy-t-wang merged commit 33cbbf7 into main Mar 28, 2026
6 of 8 checks passed
@andy-t-wang
andy-t-wang deleted the improve-skill branch March 28, 2026 20:52
m1guelpf pushed a commit that referenced this pull request Mar 30, 2026
* chore: bump @worldcoin/agentkit to 0.1.6

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* clean up

---------

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant