Prompts in the Wild: A Large Analyzed Collection of Transactional Prompts in Code

Victoria Basmov, Yoav Goldberg, Reut Tsarfaty
8/13/2026
1 citation
cs.CL

Official code: OnlpLab/transactionalPromptsCollection (0 stars, HTML, Apache-2.0, last commit 2026-07-06).

Abstract

The behavior of contemporary generative Large Language Models (LLMs) is directly shaped by prompts, unstructured texts that describe the desired output and model behavior. In this paper we argue that prompts are linguistic objects that merit investigation in their own right.

Show full abstract

To this end, we collect 57.5K unique samples of prompts from GitHub. Specifically, we focus on transactional prompts: reproducible natural language instructions that are integrated into software. To enable the empirical, quantitative study of prompts, we introduce a structured ontology, capturing the properties of prompts as well as their formal and semantic components. Based on this ontology, we transform prompts from unstructured raw texts into richly structured linguistic objects. Analysis of these structured data reveals significant diversity of usage patterns across languages, domains, tasks, and modalities, in a typical Zipf-like distribution where some clearly prevail and others, more diverse, appear in the long tail. To validate the reliability of the ontology-based annotation of the prompts, we perform a comprehensive error analysis across all fields, providing a detailed assessment of annotation quality. We release the dataset together with a browsing and exploration interface (https://github.com/OnlpLab/transactionalPromptsCollection ).

View on arXivView PDF

Code Implementations(1)

Apache-2.0

We collect, organize, annotate, analyze and release a collection of 57.5K LLM prompt texts from GitHub code repositories. This repository contains the annotated data and the exploration UI.

00HTMLJun 7, 20264 months agoApache-2.0

Similar Papers

Cite this paper

@article{basmov2026prompts,
  title  = {Prompts in the Wild: A Large Analyzed Collection of Transactional Prompts in Code},
  author = {Victoria Basmov and Yoav Goldberg and Reut Tsarfaty},
  year   = {2026},
  eprint = {2608.12905},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.12905v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.12905.svg)](https://codeofpaper.com/paper/2608.12905)

Discussion