szkript
in English: script
A script is a short, text-based program that tells the computer step by step what to do, thereby automating repetitive tasks.
In plain terms
A script is like a recipe or a to-do list for the computer: instructions are lined up one under the other, and the computer executes them from top to bottom. What you would do by clicking for ten minutes, the script performs in a single run, even for the thousandth time, exactly the same way.
Typically suited for small, targeted tasks: renaming files, copying data from one spreadsheet to another, daily backups, compiling a report. No large development team is needed; often just a few lines or a few dozen lines of code, living in a simple text file.
It differs from a 'regular' program or application mainly in size and purpose. An application is a finished product with buttons and menus; a script is more of a tool: quickly written, easily rewritten, and usually has no visible interface.
In the AI era, this term became important because the coding agent solves most of its tasks by writing and running scripts along the way. Thus, even those who never learned programming now encounter scripts.
How it works
- Someone (human or AI) writes instructions into a text file using a scripting language such as Python, JavaScript, Bash, or PowerShell.
- At startup, an interpreter reads the file and executes instructions one by one. The script does not need to be converted into an executable program in a separate step beforehand (compiled).
- The script performs the work: it opens files, reads and writes data, starts other programs, and calls websites or services.
- At the end, it delivers a result: a file is created, a message appears, or an error notification arrives if something fails.
- The script can be saved and run on a schedule (for example, every night), so the task repeats without human intervention.
An everyday example
You ask the AI assistant to rename 800 vacation photos by date and organize them into monthly folders. The agent does not handle the images one by one; instead, it writes a short script, shows it to you, runs it, and the work is done in a few seconds.
Who is affected
A common misconception
Limits and risks
- Do not run scripts received from unknown sources (email attachments, forums, websites), as they are a common form of malware.
- The script does exactly what is written in it, not what you intended: a typo in a folder name can cause it to delete the wrong files, irreversibly.
- AI-written scripts can also be flawed; back up important data before running them, and ask the agent to explain what the code does.
- A script can be fragile: if the environment changes (renamed folder, updated software, different table structure), it may easily stop working or produce incorrect results.
Similar, but not the same
- Application – The application is a standalone, finished product with a user interface, while the script is a mostly interface-free sequence of instructions written for a single task.
- prompt – A prompt is a request written in human language for the AI to interpret; a script is an instruction written in a programming language, executed letter-perfectly.
- macro – A macro is a close relative of a script: a recorded or written sequence of operations within a specific program (for example, a spreadsheet). A script usually runs independently and works across multiple programs and files.
Related concepts
program, source code, automation, szoftver
shell szkript, Python-szkript, installer script
programming language, command line, interpreter, coding agent, terminal, macro
A brief history
The word comes from the English "script" (manuscript, screenplay, script): just as an actor follows the screenplay, the machine follows the written instructions. Scripts were already written in the 1970s for Unix system interpreters. Among today's best-known scripting languages, Python appeared in 1991, and JavaScript in 1995.
Where things stand
The script has been a basic tool in computing for decades, and by the end of 2026, it has also become the daily working method of coding agents. More and more scripts are no longer written by humans but by AI, which humans then approve and check.
In the news
- Claude Code deletes 48,000 files in about 100 seconds and corrupts Git historySep 28, 2026 · Code
- US agencies warn of AI-generated attacks on Siemens S7 PLCs in critical infrastructureAug 19, 2026 · Ipar
Also known as
szkript · script · script file · script · shell script · szkriptnyelv · scripting · scripting
Sources
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.