ayjnt-add-ui

Integrate a React UI into an ayjnt agent directory with co-located app.tsx files.

3|1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/northclock/ayjnt --skill ayjnt-add-ui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ayjnt-add-ui
Source: https://github.com/northclock/ayjnt/tree/main/.claude/skills/ayjnt-add-ui
Command: npx skills add https://github.com/northclock/ayjnt --skill ayjnt-add-ui

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires react, react-dom, @types/react, @types/react-dom.

What problem does it solve?

This Skill simplifies the process of adding a React-based user interface to your ayjnt agents, ensuring that your agent's logic and its visual representation are tightly coupled and easily maintainable.

Core Features & Use Cases

  • Co-located UI: Automatically places an app.tsx file next to your agent.ts, allowing the same URL to serve both JSON data and a React frontend.
  • Typed Integration: Leverages the generated useAgent hook for seamless, type-safe state synchronization between the server and the browser.
  • Use Case: You have a counter agent and want to provide a live dashboard for users to interact with the counter state directly in their browser without building a separate frontend project.

Quick Start

Add a co-located React UI to the existing agent located in the agents/chat directory.

Frequently Asked Questions about ayjnt-add-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a React UI to an ayjnt agent?

You add a React UI by co-locating an app.tsx file next to your agent.ts logic, which enables unified routing for both API responses and browser-based UI rendering within the same directory.

Can I serve JSON data and a React frontend from the same URL?

Yes, serving JSON data and a React frontend from the same URL is possible by integrating app.tsx with agent.ts logic, allowing the ayjnt agent to handle both API responses and browser-based UI rendering simultaneously.

How does the generated useAgent hook work with React state?

The generated useAgent hook enables seamless, type-safe state synchronization between the ayjnt server and the React browser frontend, ensuring that the UI accurately reflects the agent's internal state.

Do I need React and TypeScript to use this UI integration?

Yes, you need React, react-dom, and their TypeScript type definitions installed, because this Skill configures TypeScript path aliases and uses React components to render the user interface.

What is the best way to maintain agent logic and its visual representation together?

The best way to maintain agent logic and its visual representation together is co-locating app.tsx files with agent.ts files, tightly coupling the ayjnt agent's backend logic with its frontend UI for easy maintenance.