SkillAgentSearch skills...

PyNeuro

PyNeuro is designed to connect NeuroSky's MindWave EEG device to Python and provide Callback functionality to provide data to your application in real time.

Install / Use

/learn @ZACHSTRIVES/PyNeuro
About this skill

Quality Score

0/100

Category

Design

Supported Platforms

Universal

README

PyNeuro

PyNeuro is designed to connect NeuroSky's MindWave EEG device to Python and provide Callback functionality to provide data to your application in real time. The library is tested with Mindwave Mobie2 Headset, and runs stably.

Installation

Run the following command: pip install PyNeuro

Usage

  1. Before you start, make sure you have downloaded Nuerosky Mindware Developer Tools and turned on Thinkgear Connecter. Please keep Thinkgear Connecter on while the program is running.
  2. Importing the module: from PyNeuro.PyNeuro import PyNeuro
  3. Initializing: pn = PyNeuro()
  4. After initializing, if required the callbacks can be set
  5. Then call pn.connect() method, it will connect with TCP Socket server.
  6. Then call pn.start() method, it will be start fetching data.
  7. To stop call pn.close()

Obtaining Data from Mindware Mobile Headset

  • Obtaining value: attention = pn.attention #to get value of attention_

    Other Variables attention, meditation, blinkStrength, delta, lowAlpha, highAlpha, lowBeta, highBeta, lowGamma, highGamma.

  • Setting callback: A call back can be associated with all the above variables so that a function is called when the variable is updated. Syntax:

    pn.set_attention_callback(callback_function1)
    pn.set_meditation_callback(callback_function2)
    pn.set_blinkStrength_callback(callback_function3)
    pn.set_delta_callback(callback_function4)
    pn.set_theta_callback(callback_function5)
    ....
    
    

    You can add any number of callback functions to a variable..

Access data via callback

from PyNeuro.PyNeuro import PyNeuro
from time import sleep

pn = PyNeuro() 

def attention_callback(value):
    """this function will be called everytime PyNeuro has a new value for attention"""
    print ("attention: ", value)

pn.set_attention_callback("attention", attention_callback)
pn.connect()
pn.start()

Access data via object

from PyNeuro.PyNeuro import PyNeuro
from time import sleep

pn = PyNeuro() 
pn.start()

while True:
    if pn.theta > 70: # Access data through object
        pn.close() 
    sleep(0.2) 

Python Compatibility

Reference

lihas/NeuroPy - A library based on native Bluetooth serial connection

Related Skills

diffs

341.0k

Use the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.

clearshot

Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.

openpencil

1.9k

The world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.

ui-ux-designer

Use this agent when you need to design, implement, or improve user interface components and user experience flows. Examples include: creating new pages or components, improving existing UI layouts, implementing responsive designs, optimizing user interactions, building forms or dashboards, analyzing existing UI through browser snapshots, or when you need to ensure UI components follow design system standards and shadcn/ui best practices.\n\n<example>\nContext: User needs to create a new dashboard page for team management.\nuser: "I need to create a team management dashboard where users can view team members, invite new members, and manage roles"\nassistant: "I'll use the ui-ux-designer agent to design and implement this dashboard with proper UX considerations, using shadcn/ui components and our design system tokens."\n</example>\n\n<example>\nContext: User wants to improve the user experience of an existing form.\nuser: "The signup form feels clunky and users are dropping off. Can you improve it?"\nassistant: "Let me use the ui-ux-designer agent to analyze the current form UX and implement improvements using our design system and shadcn/ui components."\n</example>\n\n<example>\nContext: User wants to evaluate and improve existing UI.\nuser: "Can you take a look at our pricing page and see how we can make it more appealing and user-friendly?"\nassistant: "I'll use the ui-ux-designer agent to take a snapshot of the current pricing page, analyze the UX against Notion-inspired design principles, and implement improvements using our design tokens."\n</example>

View on GitHub
GitHub Stars79
CategoryDesign
Updated1mo ago
Forks13

Languages

Python

Security Score

95/100

Audited on Feb 27, 2026

No findings