Skip to content

boticello/S9-warp-agent-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S9: dstask and Remind Integration

This project (S9) set up a comprehensive task and reminder management system using dstask and remind with seamless integration.

What We Accomplished

Core Systems

  • dstask: Git-backed task management with project contexts
  • remind: File-based reminder system with project organization
  • Enhanced Integration: Context switching that changes both task context and working directory

Key Features

  • Universal Context Switching: dtc <project> switches dstask context AND directory
  • Project-Based Organization: Each project has its own task and reminder files
  • Intelligent Automation: AI can create reminders and tasks based on conversation context
  • Seamless Workflow: Your context = your directory = your project

Documentation Structure

Quick Start

# Switch to any project (changes context AND directory)
dtc P1129
dtc S9

# Create tasks with consistent structure
dstask add template:3 "Task name" +tags P# project:XXX

# Create reminders
radd event "Dec 15 AT 10:00" "Team meeting"
radd reminder "Sep 20" "Call client"  
radd deadline "Oct 1" "Report due"

# View current project items
dstask next          # Tasks for current context
rproj               # Reminders for current context

File Organization

Global:
  ~/.reminders                    # Personal reminders
  ~/.reminders-master            # All reminders combined
  ~/.dstask/                     # dstask data (Git repo)

Projects:
  ~/Me/A/<Project>/.reminders   # Project-specific reminders
  
Fish Config:
  ~/.config/fish/config.fish          # Enhanced dtc function + aliases
  ~/.config/fish/completions/dstask.fish # Tab completions

Integration Benefits

  • Context Alignment: Working directory always matches task context
  • Automatic Organization: Files saved to correct project locations
  • Cross-System Reference: Tasks and reminders can reference each other
  • AI-Ready: Automated creation based on conversation content
  • Git-Backed: All changes version controlled and syncable

AI Agent Enhancement Tools

This section covers the CLI tools and functions installed to enhance AI agent capabilities in Warp.

📦 Installed Tools

All tools installed via Homebrew and verified working:

Data Processing

  • miller (mlr) v6.15.0 - Like sed/awk for CSV, JSON, and structured data
  • yq v4.47.2 - YAML/XML processor (complement to jq)

Document Conversion

  • pandoc v3.7.0.2 - Universal document converter (HTML to Markdown, etc.)

Web Processing

  • pup v0.4.0 - CSS selector-based HTML parser for structured web scraping

🚀 Agent Enhancement Functions

Functions are loaded from agent_functions.fish. Source this file to enable:

source agent_functions.fish

Key Functions

Category Function Purpose
Web web2md Convert webpage to markdown
Web web_extract Extract content with CSS selectors
Web web_to_task Create dstask from web content
Data csv_analyze Quick CSV analysis
Data data_transform Convert between data formats
YAML yaml_query Query YAML files
Docs doc_convert Universal document conversion
Utils agent_status Show tool status

💡 AI Agent Use Cases

Web Research & Content Extraction

# Convert articles to markdown
web2md https://blog.example.com/article post.md

# Extract specific content
web_extract https://news.site 'h1, .summary' text

# Create research tasks
web_to_task https://paper.com "Analyze methodology" +analysis P1

Data Analysis & Processing

# Quick CSV insights
csv_analyze sales_data.csv

# Transform API responses
data_transform api_response.json json csv report.csv

# Query configuration files
yaml_query docker-compose.yml '.services.*.image'

Documentation & Reporting

# Convert markdown to HTML
md_to_html report.md report.html

# Universal document conversion
doc_convert report.md markdown docx report.docx

🔧 Integration with Existing Tools

  • dstask: web_to_task creates tasks with web metadata
  • remind: Schedule data processing and content extraction
  • Context Switching: Functions work within project contexts

🔄 Loading Functions

Add to fish config for auto-loading:

# Add to ~/.config/fish/config.fish
source ~/Me/A/S9\ Set\ up\ tools\ for\ Warp\ agent/agent_functions.fish

Run agent_status to verify all tools are working.

Version Control Policy

jj (Jujutsu) as Default VCS

Decision: jj is the primary version control system for all new projects. Rationale: Simpler mental model, better change stacking, cleaner history management. Implementation:

  • New projects default to jj git init
  • Git-first approach only for collaborating on others' repositories
  • Full git compatibility maintained via jj git commands

AI Agent Permissions

Allowed Operations: All VCS operations except destructive actions

  • ✅ Create commits, amend unpublished changes
  • ✅ Create bookmarks, stacks, descriptions
  • ✅ Fetch from remotes
  • ⚠️ Requires approval: Pushes to remotes, history rewrites, destructive operations

Integration with Workflow


S9 Project status: Task and reminder management, AI agent enhancement tools, and jj version control configured and integrated

About

S9: Set up tools for Warp agent - jj version control, task management, and agent enhancement tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages