deeleeramone/pywry/iframe
Claude Code and agent skill by deeleeramone/pywry
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install deeleeramone/pywry/iframeSKILL.md
iFrame Embed Mode
CRITICAL: This mode is for widgets embedded as iframes in external web pages.This is NOT a native window. This is NOT Jupyter. The widget is sandboxed.
What iFrame Mode IS
You're creating widgets to be embedded as iframes in external pages:
- Widget served at a URL:
http://host:port/widget/{widget_id} - Embedded via
<iframe src="...">in parent page - Sandboxed execution - isolated from parent
- Cross-origin restrictions apply
What iFrame Mode is NOT
❌ NOT a native window - No OS integration, no native dialogs ❌ NOT Jupyter - No kernel, no notebook context ❌ NOT the main page - You're embedded, constrained by parent
Architecture
Key Constraints
Fixed Dimensions
- Width and height determined by parent's
<iframe>tag - Widget cannot resize itself
- Design for specific dimensions or be responsive
Sandboxed Execution
- Cannot access parent DOM
- Cannot read parent cookies/storage
- Limited access to some browser APIs
- Navigation stays within iframe (unless allowed)
Cross-Origin Restrictions
- Widget origin ≠ parent origin (usually)
- Communication via
postMessageonly - Some features require
allowattributes
Best Practices
1. Sizing - Design for Fixed Dimensions
2. Toolbars - Keep Minimal
3. Navigation - Stays in Frame
4. Downloads - May Require Gesture
Security Considerations
Sandboxing Protects Both Sides
- Widget can't access parent page data
- Parent can't directly access widget DOM
- Use this for untrusted contexts
Secret Handling
Token-Based Access
Recommended Components
| Component | Why | |
|---|---|---|
Button | Compact action triggers | |
Toggle | On/off states (saves space) | |
Select | Dropdowns (vertical space efficient) | |
Plotly | Self-contained interactive charts |
Communication with Parent
Widget → Parent (via events)
Parent → Widget (via send_event)
Embedding Pattern
Basic Embed
With Permissions
Code Example
iFrame-Specific Features
Responsive Design
Loading States
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpywry/pywry/mcp/skills/iframe/SKILL.md
Popularity
- Repository stars
- 89
- Repository forks
- 7
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/deeleeramone/pywry/iframe)