<tr><th>Name</th><th>Scopes</th><th>Repositories</th><th>Created</th><th>Last used</th><th>Expires</th><thtitle="What an agent does with this token is told to you">Agent</th><th></th></tr>
<td><formclass="tiny"method="post"action="/settings/tokens/{{ t.id }}/agent"><inputtype="hidden"name="_csrf"value="{{ shell.csrf }}"><buttontitle="{% if t.agent %}Stop telling me what is done with it{% else %}An agent uses this token: tell me what it does{% endif %}">{% if t.agent %}agent ✓{% else %}mark as agent{% endif %}</button></form></td>
{% for (name, what) in scopes %}<label><inputtype="checkbox"name="scopes"value="{{ name }}"{% if *name == "repo:read" || *name == "repo:write" %} checked{% endif %}><code>{{ name }}</code><spanclass="small mute">{{ what }}</span></label>{% endfor %}
<labelclass="choice"><inputtype="checkbox"name="agent"value="1"> An agent uses this token: tell me what it does <spanclass="small mute">(proposals it opens, comments it makes and the rest reach your inbox and email like anyone else's would)</span></label>