Templates and workflows for common NeuAI applications
Build a comprehensive profile of user preferences for personalized assistance.
# Store communication preferences
python3 ~/.neuai/neuai-agent-bridge.py remember "User prefers concise, bullet-point responses" --type preference --importance 5
# Store timezone
python3 ~/.neuai/neuai-agent-bridge.py remember "User is in Pacific Time (PT)" --type fact --importance 4
# Store work schedule
python3 ~/.neuai/neuai-agent-bridge.py remember "User works 9am-5pm weekdays" --type fact --importance 3
Use NeuAI to track tasks and reminders across conversations.
# Add a task
python3 ~/.neuai/neuai-agent-bridge.py remember "TODO: Review PR #42 by Friday" --type task --importance 4 --tags "work,urgent"
# Add a reminder
python3 ~/.neuai/neuai-agent-bridge.py remember "Reminder: Team standup every day at 9am" --type task --importance 3
# Query tasks
python3 ~/.neuai/neuai-agent-bridge.py chat "What tasks do I have pending?"
Store project-specific context using local .neuai directories.
# Create local context
mkdir -p .neuai/data
echo '{"project_guid": "my-project-001"}' > .neuai/identity.json
# Store project info
cd /path/to/project
python3 ~/.neuai/neuai-cli.py
> remember "This project uses React 18 with TypeScript" --type fact --importance 5
> remember "We follow BEM naming for CSS classes" --type insight --importance 4
Track debugging progress across sessions for complex issues.
# Start debug session
python3 ~/.neuai/neuai-agent-bridge.py remember "BUG-123: App crashes on login" --type task --importance 5
# Log findings
python3 ~/.neuai/neuai-agent-bridge.py remember "BUG-123: Crash happens when token is expired" --type insight --importance 4
# Log attempted fixes
python3 ~/.neuai/neuai-agent-bridge.py remember "BUG-123: Tried refreshing token - didn't help" --type insight --importance 3
# Ask for analysis
python3 ~/.neuai/neuai-agent-bridge.py chat "What have we learned about BUG-123?"
Use multi-subject memory to track feedback across repositories.
# Store common patterns (shared memory)
python3 ~/.neuai/neuai-agent-bridge.py remember "Always check for null before accessing properties" --type insight --importance 5 --subjects "frontend-app,backend-api"
# Project-specific pattern
python3 ~/.neuai/neuai-agent-bridge.py remember "Backend uses repository pattern for data access" --type fact --importance 4 --subjects "backend-api"
# Query for project
python3 ~/.neuai/neuai-agent-bridge.py recall --subjects "backend-api"
Track concepts learned and questions to explore.
# Log new concept
python3 ~/.neuai/neuai-agent-bridge.py remember "Learned: Event sourcing stores state changes as events" --type insight --importance 4 --tags "architecture,patterns"
# Log question for later
python3 ~/.neuai/neuai-agent-bridge.py remember "Question: How does CQRS relate to event sourcing?" --type task --importance 3
# Review what you've learned
python3 ~/.neuai/neuai-agent-bridge.py chat "Summarize what I've learned about event sourcing"
Collect and synthesize research across multiple sessions.
# Store research findings
python3 ~/.neuai/neuai-agent-bridge.py remember "Paper: 'Attention Is All You Need' introduced transformers" --type fact --importance 5 --tags "ml,research"
# Store comparison notes
python3 ~/.neuai/neuai-agent-bridge.py remember "Comparison: BERT is encoder-only, GPT is decoder-only" --type insight --importance 4
# Ask for synthesis
python3 ~/.neuai/neuai-agent-bridge.py chat "Compare transformer architectures based on my notes"
Use the /neuai skill in Claude Code for seamless integration.
# In Claude Code:
/neuai status
/neuai What do you know about me?
/neuai remember I prefer TypeScript over JavaScript
/neuai recall preferences
The neuai-assistant agent can also be invoked through the Task tool for complex memory operations.
Integrate NeuAI into shell scripts and automation.
#!/bin/bash
# git-commit-with-context.sh
# Get project context from NeuAI
CONTEXT=$(python3 ~/.neuai/neuai-agent-bridge.py chat "Summarize commit conventions for this project" 2>/dev/null | jq -r '.response')
# Get changed files
CHANGED=$(git diff --cached --name-only)
# Ask NeuAI for commit message suggestion
MSG=$(python3 ~/.neuai/neuai-agent-bridge.py chat "Suggest commit message for: $CHANGED. Context: $CONTEXT" | jq -r '.response')
echo "Suggested: $MSG"
read -p "Use this message? [y/n] " -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]; then
git commit -m "$MSG"
fi
Link memories across subjects to build a knowledge graph.
# Create interconnected memories
python3 ~/.neuai/neuai-agent-bridge.py remember "React uses virtual DOM for efficient updates" --type fact --importance 5 --subjects "react,frontend"
python3 ~/.neuai/neuai-agent-bridge.py remember "Vue also uses virtual DOM" --type fact --importance 4 --subjects "vue,frontend"
# Link existing memory to new subject
python3 ~/.neuai/neuai-agent-bridge.py link mem_abc123 "javascript-fundamentals"
# Query across subjects
python3 ~/.neuai/neuai-agent-bridge.py recall "virtual DOM" --subjects "react,vue"
Backup and transfer knowledge between systems.
# Export all data
python3 ~/.neuai/neuai-cli.py
> /export
# This creates:
# ~/.neuai/exports/neuai-export-2025-12-26.json
# Import on new system
cp neuai-export-2025-12-26.json ~/.neuai/
python3 ~/.neuai/neuai-cli.py
> /import neuai-export-2025-12-26.json
# Selective memory transfer
# Copy specific memories.json between .neuai directories