Auto Refresh — Auto Refresh setup for AI Agents Auto Refresh, LB_Hospitality, community, Auto Refresh setup for AI Agents, ide skills, sessionStorage usage in Auto Refresh, 3D animated progress overlay implementation, market research data refresh techniques, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Market Analysis Agents needing real-time data updates with engaging 3D animations. Auto Refresh is a skill that automatically refreshes market research data when a user logs in, utilizing sessionStorage to prevent re-triggering.

Features

Triggers once per browser session after successful login
Uses sessionStorage.setItem to prevent re-triggering on navigation
Clears on browser tab close due to session storage behavior
Displays an engaging 3D animated progress overlay during data updates
Prevents re-triggering with 'research_refresh_done' flag in sessionStorage
Fires automatically after a user logs in, ensuring data freshness

# Core Topics

ricardocidale ricardocidale
[0]
[0]
Updated: 3/6/2026

Agent Capability Analysis

The Auto Refresh skill by ricardocidale is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for Auto Refresh setup for AI Agents, sessionStorage usage in Auto Refresh, 3D animated progress overlay implementation.

Ideal Agent Persona

Perfect for Market Analysis Agents needing real-time data updates with engaging 3D animations.

Core Value

Empowers agents to automatically refresh stale market research data using sessionStorage, providing an enhanced user experience with 3D animated progress overlays, leveraging JavaScript and browser session management protocols.

Capabilities Granted for Auto Refresh

Automating market research updates on user login
Refreshing data with engaging 3D animations
Preventing data staleness with sessionStorage triggers

! Prerequisites & Limits

  • Requires browser session storage access
  • Triggers only once per browser session after successful login
  • Clears on browser tab close
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

Auto Refresh

Install Auto Refresh, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Auto-Refresh Market Research on Login

Purpose

Automatically refreshes stale market research data when a user logs in, with an engaging 3D animated progress overlay to keep users informed while data is being updated.

Behavior

Trigger

  • Fires once per browser session after successful login
  • Uses sessionStorage.setItem('research_refresh_done', Date.now().toString()) to prevent re-triggering on navigation
  • Clears on browser tab close (session storage behavior)

Age-Gating

  • Before refreshing, checks each property's research data age via GET /api/market-research/:type/:entityId
  • Only regenerates research older than 7 days (RESEARCH_MAX_AGE_DAYS = 7)
  • Properties with fresh research are skipped, saving API calls and time

Refresh Flow

  1. User logs in → App.tsx detects authenticated state + no session flag
  2. ResearchRefreshOverlay mounts and fetches property list
  3. For each property, checks research freshness
  4. Stale properties trigger POST /api/market-research/property/:id/generate
  5. Progress overlay shows current property name and completion percentage
  6. On completion, overlay fades out and session flag is set

3D Animated Overlay

Component

client/src/components/ResearchRefreshOverlay.tsx

Technology

  • Three.js via @react-three/fiber (React renderer)
  • @react-three/drei (helpers: Float, MeshDistortMaterial)
  • framer-motion (fade-in/fade-out transitions)

Visual Elements

ElementDescription
GlowingSphereCentral pulsing sphere with distort material, represents the AI "brain" processing
DataOrbSmall orbiting spheres that appear as each property completes, floating upward
WobbleRingRotating torus ring around the central sphere, indicates active processing
Progress TextCurrent property name + percentage, overlaid on the 3D scene
BackgroundSemi-transparent dark overlay (bg-black/80) with blur backdrop

Performance

  • Uses <Canvas> with dpr={[1, 1.5]} for performance on lower-end devices
  • Post-processing effects (bloom) disabled by default for stability
  • Scene elements use useFrame for smooth 60fps animation

Integration in App.tsx

tsx
1import { ResearchRefreshOverlay } from "@/components/ResearchRefreshOverlay"; 2 3function App() { 4 const { isAuthenticated } = useAuth(); 5 const [showRefresh, setShowRefresh] = useState(false); 6 7 useEffect(() => { 8 if (isAuthenticated && !sessionStorage.getItem('research_refresh_done')) { 9 setShowRefresh(true); 10 } 11 }, [isAuthenticated]); 12 13 const handleResearchComplete = useCallback(() => { 14 sessionStorage.setItem('research_refresh_done', Date.now().toString()); 15 setShowRefresh(false); 16 }, []); 17 18 return ( 19 <> 20 <Router>...</Router> 21 {showRefresh && <ResearchRefreshOverlay onComplete={handleResearchComplete} />} 22 </> 23 ); 24}

Dependencies

  • three — Core 3D engine
  • @react-three/fiber — React renderer for Three.js
  • @react-three/drei — Helper components (Float, MeshDistortMaterial)
  • framer-motion — Animation library for overlay transitions
  • @react-three/postprocessing — Optional bloom/glow effects

API Endpoints Used

EndpointMethodPurpose
/api/propertiesGETFetch list of properties to check
/api/market-research/property/:idGETCheck research data age
/api/market-research/property/:id/generatePOSTRegenerate stale research

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is Auto Refresh?

Perfect for Market Analysis Agents needing real-time data updates with engaging 3D animations. Auto Refresh is a skill that automatically refreshes market research data when a user logs in, utilizing sessionStorage to prevent re-triggering.

How do I install Auto Refresh?

Run the command: npx killer-skills add ricardocidale/LB_Hospitality/Auto Refresh. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for Auto Refresh?

Key use cases include: Automating market research updates on user login, Refreshing data with engaging 3D animations, Preventing data staleness with sessionStorage triggers.

Which IDEs are compatible with Auto Refresh?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for Auto Refresh?

Requires browser session storage access. Triggers only once per browser session after successful login. Clears on browser tab close.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add ricardocidale/LB_Hospitality/Auto Refresh. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use Auto Refresh immediately in the current project.

Related Skills

Looking for an alternative to Auto Refresh or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI