vercel-labs / vercel-labs/bash-tool

Custom commands should be able to augment existing prompt gen for format-specific tools

Open
#14 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
622
Forks
43
Avg merge
22m
Merged PRs (30d)
1

Description

An example use case here is that I'm injecting an "ask-media" command which can be used to ask an LLM to query the contents of media files (images, pdfs etc), and i'd like the file type <-> command association to exist in the same location in the prompt as for the built-in tools.

I also noticed that there are potentially some missing associations, like using sqlite3 for .db and .sqlite3 files

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the prompt-generation logic and the built-in file-type-to-command associations; then trace how custom commands are registered. Done means custom commands can add format-specific associations in the same prompt location, including the requested sqlite3 mappings for .db and .sqlite3 files.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.