Llm Bash

LangChain Hub prompt for Llm Bash

Views2
PublishedJan 12, 2026

Loading actions...

5 minBeginnerpromptSingle file

Skill content

Main instructions and any bundled files for this skill.

markdown

Llm Bash

Description of LLM Bash Prompt

Prompt designed to convert natural language to bash command.

Inputs

This is a description of the inputs that the prompt expects.

  1. question: User question to be answered by writing a bash command.

Usage

Below is a code snippet for how to use the prompt.

from langchain.prompts import load_prompt
from langchain.chains import LLMBashChain

llm = ...
prompt = load_prompt('lc://prompts/llm_bash/<file-name>')
chain = LLMBashChain(llm=llm, prompt=prompt)
Contents
Share: