> For the complete documentation index, see [llms.txt](https://wiki.redmodding.org/cyberpunk-2077-modding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/core-mods-explained/tweakxl.md).

# TweakXL

Changing the game's database entries

## What is TweakXL?

For a detailed guide with many explanations of properties, check the second half of[New Iconic Weapon: Step by Step](/cyberpunk-2077-modding/modding-guides/items-equipment/adding-new-items/weapons/new-iconic-weapon-step-by-step.md)

TweakXL ([nexus](https://www.nexusmods.com/cyberpunk2077/mods/4197) | [github](https://github.com/psiberx/cp2077-tweak-xl)) is a mod by psiberx. It lets you alter Cyberpunk's [Tweak Database](/cyberpunk-2077-modding/for-mod-creators-theory/tweaks/tweaks.md), changing properties of NPCs and items or even adding new entries.

## How do I use it?

By placing `.yaml` or `.tweak` files in Cyberpunk `2077/r6/tweaks`, or .xl files in `Cyberpunk 2077/archive/pc/mod`.

{% hint style="warning" %}
No matter the file extension, the file `contents` must be in `.yaml` or `.json`  syntax.
{% endhint %}

## Where are the guides?

### Theory

* Explanation of the database: [TweakDB: Game database](/cyberpunk-2077-modding/for-mod-creators-theory/tweaks/tweaks.md)
* Additional information: TweakXL [wiki on github.](https://github.com/psiberx/cp2077-tweak-xl/wiki/TweakDB)

### Praxis

{% content-ref url="/pages/9dBoS6d1ocs21ffoHtdy" %}
[TweakXL: Changing game records](/cyberpunk-2077-modding/for-mod-creators-theory/core-mods-explained/tweakxl/tweakxl-changing-game-records.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/core-mods-explained/tweakxl.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
