
Description
extension-qr-code is a skill that adds QR code scanning to a Caffeine AI app using the device camera. It is built on top of the camera component, and it uses the jsQR library to decode the QR codes from the camera image. The frontend uses a prefabricated React hook, imported from @caffeinelabs/qr-code, which the skill says must not be modified. The hook works with the camera configuration and error types from @caffeineai/camera, so the scanner shares the same camera setup as the camera extension. The skill's frontend section shows how to import the types and hook into a component, and it lists the RefObject type from React that the scanner uses to attach the video element. The skill is useful for check-in flows, ticket validation and similar tasks where a phone or laptop camera reads a code. Because it depends on the device camera, the app needs the user's permission to access it, and the scanner reports camera errors through the error type from the camera package. The skills.sh listing shows Gen Agent Trust Hub and Socket passed, and Snyk gave a warning.…
Highlights
- QR code scanning with the device camera
- Built on the camera component
- jsQR decoding
- Prefabricated React hook
- Camera error handling
Ratings & Reviews
No ratings yet
Be the first to rate extension-qr-code.
People also visit

mobile-platform-native-capabilities-integrate
Build a Salesforce LWC that uses native mobile device capabilities
extension-qr-code FAQ
What does extension-qr-code do?
It adds QR code scanning to a Caffeine AI app, using the device camera.
How are codes decoded?
The skill says the scanner uses the jsQR library on top of the camera component.
Can I change the hook?
No. The skill says the prefabricated @caffeinelabs/qr-code hook cannot be modified.
What does it share with the camera extension?
The camera configuration and error types from @caffeineai/camera.
What is a typical use?
Check-in or ticket validation, where a camera reads a code, is a natural fit for the skill.
What are its security audits?
The skills.sh listing shows Gen Agent Trust Hub and Socket passed, and Snyk gave a warning.
What are the best extension-qr-code alternatives?
Popular alternatives to extension-qr-code include mobile-platform-native-capabilities-integrate, skill-scanner and using-mobile-native-capabilities. See all extension-qr-code alternatives











