If you want to use glossaries-extra
for an index:

% Übersetzung (wegen Umlauten besser ‘lualatex’):
% arara: lualatex
% arara: lualatex
% arara: makeglossaries
% arara: bib2gls
% arara: lualatex
% arara: lualatex
% arara: clean: { extensions: [acn, acr,alg, aux, glg, glo, gls, ist, out, slg, syg, syi, toc, idx, ind, log, ilg, glstex, gz ] }
% Allgemeine Liste von Wörtern, die -sofern verwendet \gls{...}- im Index auftauchen:
\begin{filecontents*}[overwrite]{\jobname-index.bib}
@comment{Bei gleich immer Klammern: ={....} }
@index{Wort}
@index{geschrieben,alias={schreiben}}
@index{Abkuerzung,name={Abkürzung},text={Abkürzung}}
@index{Wert, plural={Werte}}
\end{filecontents*}
\documentclass[paper=a4]{scrartcl}
\usepackage{lipsum} % Dummy-Text
\usepackage{xparse}
\usepackage[most]{tcolorbox}
% tcolobox styles
\tcbset{
commonstyle/.style={
theorem style=plain, % no break after title
%theorem style=break, % break after title
fonttitle=\bfseries,
%fontupper=\itshape, % in “body”
separator sign none,
description delimiters parenthesis,
description font=\normalfont,
terminator sign={.\hspace{1em}},
% Box-Einstellungen
enhanced,arc=0mm,outer arc=0mm,
boxrule=0mm,toprule=0mm,bottomrule=0mm,left=0mm,right=0mm,
titlerule=0mm,toptitle=0mm,bottomtitle=0mm,top=0mm,
colback=white,coltitle=black,
%
boxsep=0pt, bottom=0pt,
before skip=0.75\baselineskip, % Theorem-Umgebungen 3/4 Leerzeile
after skip=0.75\baselineskip, % absetzen
},
leftbar/.style={colframe=black, left=4pt, leftrule=1.75pt},
}
% Theorems
\newtcbtheorem[number within=none]{bsp}{Beispiel}{commonstyle,
colback=lightgray!33, boxsep=4pt,
terminator sign colon}{bsp}
% Theorems with automatical Index
\newwrite\myoutfile
\immediate\openout\myoutfile=\jobname-autoindex.bib
\immediate\write\myoutfile{@comment{Theorem descriptions to index}} % schreiben der Datei sicherstellen
%
\newcounter{autoindexcounter}
%
\NewDocumentCommand\newtcbtheoremautoglossaries{ O{} m m m m }{%%
\newtcbtheorem[#1]{#2inner}{#3}{#4}{#5}%
\NewDocumentEnvironment { #2 } { s O{} m m O{##3}}
{\IfBooleanTF{##1}
{\begin{#2inner}[##2]{##3}{##4}}% not to bib
{
\stepcounter{autoindexcounter}
\IfNoValueTF{##5}
{\immediate\write\myoutfile{@index{autoindexcounter\theautoindexcounter, name={##3}}}%
}
{\immediate\write\myoutfile{@index{autoindexcounter\theautoindexcounter, name={##5},text={##3}}}%
}
\begin{#2inner}[##2]{##3}{##4}%
\glslink{autoindexcounter\theautoindexcounter}{}%
}%
}% to bib
{\end{#2inner}}
% starred version (not labeled and not listed in lists of theorems):
\NewDocumentEnvironment { #2* } { O{} m }
{\begin{#2inner*}[##1]{##2}}% (and no index as well)
{\end{#2inner*}}
}%%
\newtcbtheoremautoglossaries[number within=section, list inside={mylist}]{defi}{Definition}{commonstyle}{def}
\newtcbtheoremautoglossaries[use counter from=defiinner, list inside={mylist}]{satz}{Satz}{commonstyle, leftbar}{thm}
% Glossaries =================================
\usepackage[
colorlinks=true, % zur Hervorhebung
pdfborder={0 0 0},
]{hyperref}% Vor glossaries-extra laden!
%\usepackage[ngerman]{translator}
%Paket laden
%\usepackage{makeidx}
\usepackage[%
record={alsoindex},
index,
stylemods={bookindex},
style=altlistgroup,
shortcuts, % Abkürzungen für Befehle aktivieren
acronym, %ein Abkürzungsverzeichnis erstellen
toc, %Einträge im Inhaltsverzeichnis
section, %im Inhaltsverzeichnis auf section-Ebene erscheinen
]{glossaries-extra}
%\glssetcategoryattribute{acronym}{glossdescfont}{textit}
%\glssetcategoryattribute{acronym}{glossnamefont}{textsf}
\GlsXtrLoadResources[src={\jobname-index, \jobname-autoindex}, type=index,]
\usepackage{glossary-mcols} % mehrspaltige Verzeichnisse
\usepackage{glossary-longbooktabs} % Tabellenverzeichnisse
% Den Punkt am Ende jeder Beschreibung deaktivieren
\renewcommand*{\glspostdescription}{}
\makeglossaries
\begin{document}
\glsaddallunused % optional: auch ungenutze Einträge anzeigen
% \tableofcontents{}
\section{Theoreme mit tcolorbox, Index mit glossaries-extra}
\begin{satz}{Satz to Index}{}
\newline \ttfamily
\textbackslash begin\{satz\}[Optionen]\{Notiz\}\{th\}\\
\dots \\
\textbackslash end\{satz\}
\end{satz}
\begin{satz}{Satz to Index, aber anders im Index eingetragen}{}[anderer Eintrag im Index] \newline \ttfamily
\textbackslash begin\{satz\}[Optionen]\{Notiz hier\}\{th\}[Notiz im Index]\\
\dots \\
\textbackslash end\{satz\}
\end{satz}
\begin{satz}*{Satz not to Index}{} \newline \ttfamily
\textbackslash begin\{satz\}*[Optionen]\{Notiz\}\{th\}\\
\dots \\
\textbackslash end\{satz\}
\end{satz}
\begin{satz*}{Satz not labeled and not listed in lists of theorems, and no index as well} \newline \ttfamily
\textbackslash begin\{satz*\}[Optionen]\{Notiz\}\\
\dots \\
\textbackslash end\{satz*\}
\end{satz*}
\begin{bsp*}{Name des Beispiels}
Ein Indexeintrag: \gls{Wort}
\end{bsp*}
\begin{defi}{Eine Definition}{}
\lipsum[66]
\end{defi}
\begin{satz}{Ein Satz}{}
\lipsum[66]
\end{satz}
\lipsum[66]
\newpage
\begin{satz}[]{Satz des Pythagoras}{label3}
$$a^2+b^2=c^2$$
\end{satz}
\lipsum[66]
\tcblistof[\addsec]{mylist}{Liste der Sätze und Definition}
% Index ausgeben
\printunsrtglossary[type=index,style=bookindex,title=Stichwortverzeichnis]
\end{document}
\tcb@addcontentsline
.