integration-privy Skill (Solana Mobile): Add Privy Login to a Solana App
Makes Claude add Privy login to a Solana Expo Android app on top of Mobile Wallet Adapter, using Sign-In-With-Solana.
- Installs
- 13.1K
- on skills.sh
- Stars
- 8
- on GitHub
- Files
- 3
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
integration-privy makes Claude wire Privy accounts into a Solana Expo Android app that already connects wallets over Mobile Wallet Adapter. Privy owns the user and a token your backend can verify, and the wallet app still does all signing. It is Solana Mobile's skill about Privy, not a skill published by Privy.
It starts when you ask to install @privy-io/expo, mount PrivyProvider, log a user in with useLoginWithSiws, link a wallet to a Privy account, or read the Privy access token from a backend. It needs a Privy app ID and client ID from the Privy dashboard, set as EXPO_PUBLIC_ variables. It is Android and development builds only.
Good for
- Solana Expo teams that need user accounts across devices
- Apps that need a session a server can verify
- Developers debugging a Privy plus Mobile Wallet Adapter setup
Install integration-privy
Claude Code
- 1
Copy this prompt.
Install the integration-privy skill in Claude Code. Run this command: npx -y skills add solana-mobile/solana-mobile-skills --skill integration-privy --skill solana-mobile-wallet --skill solana-mobile Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
The skill has Claude run npx and edit your project, so there is no Claude app upload route. The README says it needs an Expo React Native project, an Android development build (Expo Go does not work) and an Android development environment, and that npx solana-mobile@latest doctor checks the environment. The first method also installs solana-mobile-wallet, solana-mobile, which SKILL.md names as prerequisites.
Built from the package data we hold. Not yet tested by us. Source.
What's in the skill
When it loads
Add Privy authentication to a Solana Expo Android app on top of Mobile Wallet Adapter, using Sign-In-With-Solana. Use when installing @privy-io/expo, mounting PrivyProvider, logging a user in with useLoginWithSiws, linking a wallet to an existing Privy account, reading the Privy access token from a backend, or debugging a Privy plus MWA setup.
Sections in SKILL.md
- Before you start
- Step 1: create the Privy app
- Step 2: install and configure
- Step 3: mount the providers
- Step 4: wait for isReady
- Step 5: sign in with SIWS
- Step 6: sign out of both
- Which side owns what
- Reference material
- Related skills
- Links
Key facts
- License
- Apache-2.0
- Installs on skills.sh
- 13,076 (Nov 2, 2026)
- GitHub stars
- 8 (Nov 2, 2026)
- skills.sh audits
- Gen Agent Trust Hub pass; Socket pass; Snyk pass (Nov 2, 2026)
- Last repo commit
- Oct 21, 2026
What it includes
You create the Privy app, enable SVM wallets and save the App ID and Client ID.
Step 1: create the Privy appInstalls @privy-io/expo, then adds polyfills, app.json plugins and a Metro resolver fix.
Runs code ·
Step 2: install and configureMounts PrivyProvider and MobileWalletProvider above every screen.
Write ·
Step 3: mount the providersWaits for usePrivy isReady so signed-in users do not flash a login screen.
Write ·
Step 4: wait for isReadyGenerates a message, has the wallet sign it, then exchanges the signature for a session.
Network ·
Step 5: sign in with SIWSCalls logout and disconnect together to avoid a half-signed-out state.
Step 6: sign out of both
From the official docs
Permissions
Medium risk
This skill makes Claude run commands and write code in your project. Work on a branch and read the diff before you build.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It installs packages and edits native wiring
Step 2 runs npx expo install @privy-io/expo @privy-io/expo-native-extensions and changes the entry module, app.json plugins and the Metro config, then needs a native rebuild with npx expo run:android. github.com
Never put the Privy app secret in the app
The two values for the mobile app are public client identifiers. SKILL.md says the Privy app secret never belongs in a mobile app, because EXPO_PUBLIC_ values are readable in the shipped bundle. Server verification code in references/siws.md reads PRIVY_APP_SECRET from the server environment. github.com
Sign-in goes through Privy
Privy generates the sign-in message and exchanges the wallet's signature for a session. You create the Privy app in the Privy dashboard yourself. github.com
The install command uses npx -y
The README's install command is npx -y skills add. The -y flag answers npx's own prompt to download the skills package with yes. Drop -y if you want to see that prompt. github.com
It runs the CLI to fetch a reference app
SKILL.md suggests npx solana-mobile@latest create /tmp/reference-app --template expo-kit-privy --skip-install to read the template app. references/setup.md also runs npx expo install fast-text-encoding react-native-quick-crypto for the polyfills. github.com
Security advisories
No published security advisories as of Nov 2, 2026.
Technical details
| Turning on read-only | No read-only mode is documented. |
|---|---|
| Talks to | npm registry (package installs). dashboard.privy.io (you set up the app there) |
| Sign-in and keys | SKILL.md says the Privy app ID and client ID are public EXPO_PUBLIC_ values and the app secret never goes in the mobile app. |
| Scopes |
|
Questions
How do I install integration-privy?
Use the install box above. Its first method also installs solana-mobile-wallet and solana-mobile, which SKILL.md names as prerequisites. The repo has 7 skills in total.
Is integration-privy safe to use?
It bundles no scripts, but it makes Claude install npm packages and edit your entry module, app.json and Metro config. Keep the Privy app secret out of the mobile app. Our advice: work on a git branch and read the diff before you rebuild the native app.
Is integration-privy made by Privy?
No, it is published in Solana Mobile's repo, and plugin.json names Solana Mobile as author. The Privy links in SKILL.md point to Privy's own docs and dashboard.
Does integration-privy work in the Claude app?
We list no Claude app upload for it, because it edits your Expo project and runs npx commands. The README lists Claude Code, Codex, OpenCode, Cline, Amp and other agents the skills installer supports. Our advice: use it in Claude Code or Codex.
Do I need Privy if I only need a connected address?
No. SKILL.md says an app that only needs a connected address does not need Privy, and to use the solana-mobile-wallet skill alone. Privy is for a stable user record across devices, a server-verifiable session, or login methods beyond a wallet.
Why does Privy login reject a correct wallet signature?
SKILL.md calls the SVM (Solana) wallets toggle in the Privy dashboard the easy one to skip. While it is off, login rejects every SIWS attempt even though the wallet signed correctly.
Does Privy sign my transactions?
No. SKILL.md says Privy signs nothing in this setup: every signature still comes from the wallet app over Mobile Wallet Adapter.
Do I need the other skills too?
SKILL.md lists a working useMobileWallet() from solana-mobile-wallet and an Android development build from solana-mobile as prerequisites. The install box includes both.
Information
updated Nov 2, 2026
- Repository
- solana-mobile/solana-mobile-skills
- Folder
skills/integration-privy
Sources
Docs, issue trackers and discussions this page is built from.
Show all 5Hide
- solana-mobile-skills README · github.com
- integration-privy SKILL.md · github.com
- plugin.json · github.com
- integration-privy troubleshooting.md · github.com
- integration-privy siws.md · github.com