Skip to content

This is an AI agent that works directly on the desktop

Notifications You must be signed in to change notification settings

sokeyea/tabs-agent

 
 

Repository files navigation

Tabs Agent

AI-powered desktop assistant built with Electron and powered by Anthropic's Claude AI model.

System Prompt Configuration

This project includes a custom system prompt that defines the assistant's identity and capabilities.

Files

  • CLAUDE.md: Project-specific instructions for Claude Code sessions (when working on this codebase)
  • system-prompt.txt: Custom system prompt appended to every chat interaction in the app

How It Works

When users interact with Tabs Agent, the system automatically appends the custom prompt from system-prompt.txt to every Claude API call. This ensures consistent behavior and identity across all conversations.

The implementation is in src/main/ipc/claude-chat.ts:

  • Loads system-prompt.txt on each chat request
  • Appends it using the --append-system-prompt flag
  • Falls back gracefully if the file doesn't exist

Customizing the System Prompt

To modify the assistant's behavior:

  1. Edit system-prompt.txt in the project root
  2. Rebuild the app: npm run build
  3. The changes will take effect in all new conversations

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run tests
npm test

License

[Your License Here]

About

This is an AI agent that works directly on the desktop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 98.3%
  • Other 1.7%